-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathtiny-compress-images.php
31 lines (28 loc) · 1.28 KB
/
tiny-compress-images.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* Plugin Name: TinyPNG - JPEG, PNG & WebP image compression
* Description: Speed up your website. Optimize your JPEG, PNG, and WebP images automatically with TinyPNG.
* Version: 3.4.5
* Author: TinyPNG
* Author URI: https://tinypng.com
* Text Domain: tiny-compress-images
* License: GPLv2 or later
*/
require dirname( __FILE__ ) . '/src/config/class-tiny-config.php';
require dirname( __FILE__ ) . '/src/class-tiny-php.php';
require dirname( __FILE__ ) . '/src/class-tiny-wp-base.php';
require dirname( __FILE__ ) . '/src/class-tiny-exception.php';
require dirname( __FILE__ ) . '/src/class-tiny-compress.php';
require dirname( __FILE__ ) . '/src/class-tiny-bulk-optimization.php';
require dirname( __FILE__ ) . '/src/class-tiny-image-size.php';
require dirname( __FILE__ ) . '/src/class-tiny-image.php';
require dirname( __FILE__ ) . '/src/class-tiny-settings.php';
require dirname( __FILE__ ) . '/src/class-tiny-plugin.php';
require dirname( __FILE__ ) . '/src/class-tiny-notices.php';
require dirname( __FILE__ ) . '/src/compatibility/wpml/class-tiny-wpml.php';
if ( Tiny_PHP::client_supported() ) {
require dirname( __FILE__ ) . '/src/class-tiny-compress-client.php';
} else {
require dirname( __FILE__ ) . '/src/class-tiny-compress-fopen.php';
}
$tiny_plugin = new Tiny_Plugin();