| @@ -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'; |