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 +3 -3 2.7.53.0.3 View file →
@@ -2,9 +2,9 @@
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.5
6 + * Version: 3.0.3
7 7 * Author: Frank Goossens (futtta)
8 8 * Author URI: https://autoptimize.com/
9 9 * Text Domain: autoptimize
10 10 * License: GPLv2
@@ -20,9 +20,9 @@
20 20 if ( ! defined( 'ABSPATH' ) ) {
21 21 exit;
22 22 }
23 23
24 -define( 'AUTOPTIMIZE_PLUGIN_VERSION', '2.7.5' );
24 +define( 'AUTOPTIMIZE_PLUGIN_VERSION', '3.0.3' );
25 25
26 26 // plugin_dir_path() returns the trailing slash!
27 27 define( 'AUTOPTIMIZE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
28 28 define( 'AUTOPTIMIZE_PLUGIN_FILE', __FILE__ );
@@ -43,9 +43,9 @@
43 43 return;
44 44 }
45 45
46 46 function autoptimize_autoload( $class_name ) {
47 - if ( in_array( $class_name, array( 'Minify_HTML', 'JSMin' ) ) ) {
47 + if ( in_array( $class_name, array( 'AO_Minify_HTML', 'JSMin' ) ) ) {
48 48 $file = strtolower( $class_name );
49 49 $file = str_replace( '_', '-', $file );
50 50 $path = dirname( __FILE__ ) . '/classes/external/php/';
51 51 $filepath = $path . $file . '.php';