PluginProbe
Autoptimize / 3.0.3
Autoptimize v3.0.3
2.2.2 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.5.0 2.5.1 2.6.0 2.6.1 2.6.2 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 All 107 releases
← All changes | autoptimize.php +5 -4 2.7.03.0.3 View file →
@@ -2,14 +2,15 @@
2 2 /**
3 3 * Plugin Name: Autoptimize
4 4 * Plugin URI: https://autoptimize.com/
5 5 * Description: Makes your site faster by optimizing CSS, JS, Images, Google fonts and more.
6 - * Version: 2.7.0
6 + * Version: 3.0.3
7 7 * Author: Frank Goossens (futtta)
8 8 * Author URI: https://autoptimize.com/
9 9 * Text Domain: autoptimize
10 + * License: GPLv2
10 11 * Released under the GNU General Public License (GPL)
11 - * http://www.gnu.org/licenses/gpl.txt
12 + * https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
12 13 */
13 14
14 15 /**
15 16 * Autoptimize main plugin file.
@@ -19,9 +20,9 @@
19 20 if ( ! defined( 'ABSPATH' ) ) {
20 21 exit;
21 22 }
22 23
23 -define( 'AUTOPTIMIZE_PLUGIN_VERSION', '2.7.0' );
24 +define( 'AUTOPTIMIZE_PLUGIN_VERSION', '3.0.3' );
24 25
25 26 // plugin_dir_path() returns the trailing slash!
26 27 define( 'AUTOPTIMIZE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
27 28 define( 'AUTOPTIMIZE_PLUGIN_FILE', __FILE__ );
@@ -42,9 +43,9 @@
42 43 return;
43 44 }
44 45
45 46 function autoptimize_autoload( $class_name ) {
46 - if ( in_array( $class_name, array( 'Minify_HTML', 'JSMin' ) ) ) {
47 + if ( in_array( $class_name, array( 'AO_Minify_HTML', 'JSMin' ) ) ) {
47 48 $file = strtolower( $class_name );
48 49 $file = str_replace( '_', '-', $file );
49 50 $path = dirname( __FILE__ ) . '/classes/external/php/';
50 51 $filepath = $path . $file . '.php';