Version Description
Release date: 18th June 2017
- [Fix] Notice not dismissing
Download this release
Release Info
Developer | jepsonrae |
Plugin | Resize Image After Upload |
Version | 1.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.8.0 to 1.8.1
- readme.txt +8 -4
- resize-image-after-upload.php +4 -4
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Resize Image After Upload ===
|
2 |
Contributors: ShortPixel
|
3 |
-
Donate link: https://www.paypal.
|
4 |
Tags: image, resize, rescale, bulk resize, bulk rescale, downsize,
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.8
|
7 |
-
Stable tag: 1.8.
|
8 |
|
9 |
Automatically resize your images after upload using this plugin. Specify height&width, the plugin will do the rest quickly and transparently.
|
10 |
|
@@ -19,8 +19,6 @@ In addition, the plugin can force re-compression of uploaded JPEG images and con
|
|
19 |
|
20 |
Is that simple, just give it a try, it is safe and free! :-)
|
21 |
|
22 |
-
**Keywords:** image, picture, processing, plugin, resize, upload, resizing, optimization, optimize, optimise, optimisation, downsize, imsanity, bulk resize, compress, shrink, picture, performance, fast, images, image files, image quality, image optimizer, jpg optimisation, jpg optimization, jpg resizing, png optimisation, png optimization, png resizing, image cruncher, compress png, compress jpg, compress jpeg, faster, loading times, bandwidth, pics, remove exif, speed up site, speed up website
|
23 |
-
|
24 |
== Installation ==
|
25 |
|
26 |
1. Upload the plugin 'resize-image-after-upload' to the '/wp-content/plugins/' directory.
|
@@ -45,6 +43,12 @@ Is that simple, just give it a try, it is safe and free! :-)
|
|
45 |
|
46 |
== Changelog ==
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
= 1.8.0 =
|
49 |
|
50 |
Release date: 18th June 2017
|
1 |
=== Resize Image After Upload ===
|
2 |
Contributors: ShortPixel
|
3 |
+
Donate link: https://www.paypal.me/resizeImage
|
4 |
Tags: image, resize, rescale, bulk resize, bulk rescale, downsize,
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.8
|
7 |
+
Stable tag: 1.8.1
|
8 |
|
9 |
Automatically resize your images after upload using this plugin. Specify height&width, the plugin will do the rest quickly and transparently.
|
10 |
|
19 |
|
20 |
Is that simple, just give it a try, it is safe and free! :-)
|
21 |
|
|
|
|
|
22 |
== Installation ==
|
23 |
|
24 |
1. Upload the plugin 'resize-image-after-upload' to the '/wp-content/plugins/' directory.
|
43 |
|
44 |
== Changelog ==
|
45 |
|
46 |
+
= 1.8.1 =
|
47 |
+
|
48 |
+
Release date: 18th June 2017
|
49 |
+
|
50 |
+
* [Fix] Notice not dismissing
|
51 |
+
|
52 |
= 1.8.0 =
|
53 |
|
54 |
Release date: 18th June 2017
|
resize-image-after-upload.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Resize Image After Upload
|
|
4 |
Plugin URI: https://wordpress.org/plugins/resize-image-after-upload/
|
5 |
Description: Automatically resize uploaded images to within specified maximum width and height. Also has option to force recompression of JPEGs. Configuration options found under <a href="options-general.php?page=resize-after-upload">Settings > Resize Image Upload</a>
|
6 |
Author: ShortPixel
|
7 |
-
Version: 1.8.
|
8 |
Author URI: https://shortpixel.com
|
9 |
|
10 |
Copyright (C) 2017 ShortPixel
|
@@ -24,7 +24,7 @@ along with this program; if not, write to the Free Software
|
|
24 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
25 |
*/
|
26 |
|
27 |
-
$PLUGIN_VERSION = '1.8.
|
28 |
$DEBUG_LOGGER = false;
|
29 |
|
30 |
|
@@ -65,7 +65,7 @@ function jr_generate_plugin_links($links) {
|
|
65 |
}
|
66 |
|
67 |
function jr_display_notices() {
|
68 |
-
if(get_option( 'jr_resizeupload_news')
|
69 |
global $jr_settings_page;
|
70 |
$screen = get_current_screen();
|
71 |
if ( $screen->id != $jr_settings_page ) { ?>
|
@@ -92,7 +92,7 @@ function jr_display_notices() {
|
|
92 |
|
93 |
function jr_dismiss_notices() {
|
94 |
update_option( 'jr_resizeupload_news', 1);
|
95 |
-
|
96 |
}
|
97 |
|
98 |
/**
|
4 |
Plugin URI: https://wordpress.org/plugins/resize-image-after-upload/
|
5 |
Description: Automatically resize uploaded images to within specified maximum width and height. Also has option to force recompression of JPEGs. Configuration options found under <a href="options-general.php?page=resize-after-upload">Settings > Resize Image Upload</a>
|
6 |
Author: ShortPixel
|
7 |
+
Version: 1.8.1
|
8 |
Author URI: https://shortpixel.com
|
9 |
|
10 |
Copyright (C) 2017 ShortPixel
|
24 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
25 |
*/
|
26 |
|
27 |
+
$PLUGIN_VERSION = '1.8.1';
|
28 |
$DEBUG_LOGGER = false;
|
29 |
|
30 |
|
65 |
}
|
66 |
|
67 |
function jr_display_notices() {
|
68 |
+
if(get_option( 'jr_resizeupload_news') != 1 ) {
|
69 |
global $jr_settings_page;
|
70 |
$screen = get_current_screen();
|
71 |
if ( $screen->id != $jr_settings_page ) { ?>
|
92 |
|
93 |
function jr_dismiss_notices() {
|
94 |
update_option( 'jr_resizeupload_news', 1);
|
95 |
+
die(json_encode(array("Status" => 0)));
|
96 |
}
|
97 |
|
98 |
/**
|