Version Description
- Fixed:
-
get_current_screen()
method causing error on some sites
-
Download this release
Release Info
Developer | UmeshSingla |
Plugin | Smush Image Compression and Optimization |
Version | 2.7.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.7.4 to 2.7.4.1
- lib/class-wp-smush-resize.php +3 -1
- readme.txt +7 -2
- wp-smush.php +2 -2
lib/class-wp-smush-resize.php
CHANGED
@@ -53,7 +53,9 @@ if ( ! class_exists( 'WpSmushResize' ) ) {
|
|
53 |
}
|
54 |
|
55 |
global $wpsmush_settings, $wpsmushit_admin;
|
56 |
-
|
|
|
|
|
57 |
|
58 |
if ( ! empty( $current_screen ) && ! $skip_check ) {
|
59 |
//Do not Proceed if not on one of the required screens
|
53 |
}
|
54 |
|
55 |
global $wpsmush_settings, $wpsmushit_admin;
|
56 |
+
|
57 |
+
// Make sure the screen function exists.
|
58 |
+
$current_screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
59 |
|
60 |
if ( ! empty( $current_screen ) && ! $skip_check ) {
|
61 |
//Do not Proceed if not on one of the required screens
|
readme.txt
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
=== Smush Image Compression and Optimization ===
|
2 |
Plugin Name: Smush Image Compression and Optimization
|
3 |
-
Version: 2.7.4
|
4 |
Author: WPMU DEV
|
5 |
Author URI: http://premium.wpmudev.org/
|
6 |
Contributors: WPMUDEV, alexdunae
|
7 |
Tags: image, resize, optimize, compress, performance, lossless, lossy, photo, pictures, optimize JPG, compress PNG, Smush WordPress Compression, Smush.it
|
8 |
Requires at least: 3.5
|
9 |
Tested up to: 4.8
|
10 |
-
Stable tag: 2.7.4
|
11 |
License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
12 |
|
13 |
Compress and optimize image files, improve performance and boost your SEO rank using Smush WordPress image compression and optimization.
|
@@ -148,6 +148,11 @@ Yahoo's Smush.it API is gone forever. So WPMU DEV built our own free API that is
|
|
148 |
|
149 |
== Changelog ==
|
150 |
|
|
|
|
|
|
|
|
|
|
|
151 |
= 2.7.4 =
|
152 |
|
153 |
* Update: Minor UI changes
|
1 |
=== Smush Image Compression and Optimization ===
|
2 |
Plugin Name: Smush Image Compression and Optimization
|
3 |
+
Version: 2.7.4.1
|
4 |
Author: WPMU DEV
|
5 |
Author URI: http://premium.wpmudev.org/
|
6 |
Contributors: WPMUDEV, alexdunae
|
7 |
Tags: image, resize, optimize, compress, performance, lossless, lossy, photo, pictures, optimize JPG, compress PNG, Smush WordPress Compression, Smush.it
|
8 |
Requires at least: 3.5
|
9 |
Tested up to: 4.8
|
10 |
+
Stable tag: 2.7.4.1
|
11 |
License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
12 |
|
13 |
Compress and optimize image files, improve performance and boost your SEO rank using Smush WordPress image compression and optimization.
|
148 |
|
149 |
== Changelog ==
|
150 |
|
151 |
+
= 2.7.4.1 =
|
152 |
+
|
153 |
+
* Fixed:
|
154 |
+
* `get_current_screen()` method causing error on some sites
|
155 |
+
|
156 |
= 2.7.4 =
|
157 |
|
158 |
* Update: Minor UI changes
|
wp-smush.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Smush
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/wp-smushit/
|
5 |
Description: Reduce image file sizes, improve performance and boost your SEO using the free <a href="https://premium.wpmudev.org/">WPMU DEV</a> WordPress Smush API.
|
6 |
Author: WPMU DEV
|
7 |
-
Version: 2.7.4
|
8 |
Author URI: http://premium.wpmudev.org/
|
9 |
Text Domain: wp-smushit
|
10 |
*/
|
@@ -35,7 +35,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
35 |
* Constants
|
36 |
*/
|
37 |
$prefix = 'WP_SMUSH_';
|
38 |
-
$version = '2.7.4';
|
39 |
|
40 |
//Deactivate the .org version, if pro version is active
|
41 |
add_action( 'admin_init', 'deactivate_smush_org' );
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/wp-smushit/
|
5 |
Description: Reduce image file sizes, improve performance and boost your SEO using the free <a href="https://premium.wpmudev.org/">WPMU DEV</a> WordPress Smush API.
|
6 |
Author: WPMU DEV
|
7 |
+
Version: 2.7.4.1
|
8 |
Author URI: http://premium.wpmudev.org/
|
9 |
Text Domain: wp-smushit
|
10 |
*/
|
35 |
* Constants
|
36 |
*/
|
37 |
$prefix = 'WP_SMUSH_';
|
38 |
+
$version = '2.7.4.1';
|
39 |
|
40 |
//Deactivate the .org version, if pro version is active
|
41 |
add_action( 'admin_init', 'deactivate_smush_org' );
|