Enable jQuery Migrate Helper - Version 1.0.1

Version Description

Download this release

Release Info

Developer Clorith
Plugin Icon wp plugin Enable jQuery Migrate Helper
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0.0 to 1.0.1

class-jquery-migrate-helper.php CHANGED
@@ -163,11 +163,11 @@ class jQuery_Migrate_Helper {
163
  }
164
 
165
  public static function admin_notices_dismiss() {
166
- if ( empty( POST['dismiss-notice-nonce'] ) || ! current_user_can( 'manage_options' ) ) {
167
  return;
168
  }
169
 
170
- if ( ! wp_verify_nonce( POST['dismiss-notice-nonce'], 'jquery-migrate-notice' ) ) {
171
  return;
172
  }
173
 
163
  }
164
 
165
  public static function admin_notices_dismiss() {
166
+ if ( empty( $_POST['dismiss-notice-nonce'] ) || ! current_user_can( 'manage_options' ) ) {
167
  return;
168
  }
169
 
170
+ if ( ! wp_verify_nonce( $_POST['dismiss-notice-nonce'], 'jquery-migrate-notice' ) ) {
171
  return;
172
  }
173
 
enable-jquery-migrate-helper.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Enable jQuery Migrate Helper
4
  Plugin URI: https://wordpress.org/plugins/enable-jquery-migrate-helper
5
  Description: Enable support for old and outdated plugins and themes during a jQuery update transitional phase.
6
- Version: 1.0.0
7
  Requires at least: 5.4
8
  Tested up to: 5.5
9
  Requires PHP: 5.6
3
  Plugin Name: Enable jQuery Migrate Helper
4
  Plugin URI: https://wordpress.org/plugins/enable-jquery-migrate-helper
5
  Description: Enable support for old and outdated plugins and themes during a jQuery update transitional phase.
6
+ Version: 1.0.1
7
  Requires at least: 5.4
8
  Tested up to: 5.5
9
  Requires PHP: 5.6
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: wordpressdotorg, clorith, azaozz
3
  Requires at least: 5.4
4
  Tested up to: 5.5
5
- Stable tag: 1.0.0
6
  Requires PHP: 5.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -29,5 +29,8 @@ WordPress.org has an article about [using the browsers console log to diagnose J
29
 
30
  == Changelog ==
31
 
 
 
 
32
  = v 1.0.0 =
33
  * Initial release.
2
  Contributors: wordpressdotorg, clorith, azaozz
3
  Requires at least: 5.4
4
  Tested up to: 5.5
5
+ Stable tag: 1.0.1
6
  Requires PHP: 5.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
29
 
30
  == Changelog ==
31
 
32
+ = v 1.0.1 =
33
+ * Fix one of the admin notices being non-dismissible.
34
+
35
  = v 1.0.0 =
36
  * Initial release.