User Role Editor - Version 4.32.2

Version Description

Download this release

Release Info

Developer shinephp
Plugin Icon 128x128 User Role Editor
Version 4.32.2
Comparing to
See all releases

Code changes from version 4.32.1 to 4.32.2

includes/classes/grant-roles.php CHANGED
@@ -144,6 +144,7 @@ class URE_Grant_Roles {
144
 
145
 
146
  public function load_js() {
 
147
  wp_register_script('ure-users-grant-roles', plugins_url('/js/users-grant-roles.js', URE_PLUGIN_FULL_PATH));
148
  wp_enqueue_script('ure-users-grant-roles', '', array(), false, true);
149
  wp_localize_script('ure-users-grant-roles', 'ure_users_grant_roles_data', array(
144
 
145
 
146
  public function load_js() {
147
+ wp_enqueue_script('jquery-ui-dialog', false, array('jquery-ui-core','jquery-ui-button', 'jquery') );
148
  wp_register_script('ure-users-grant-roles', plugins_url('/js/users-grant-roles.js', URE_PLUGIN_FULL_PATH));
149
  wp_enqueue_script('ure-users-grant-roles', '', array(), false, true);
150
  wp_localize_script('ure-users-grant-roles', 'ure_users_grant_roles_data', array(
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=vladi
4
  Tags: user, role, editor, security, access, permission, capability
5
  Requires at least: 4.0
6
  Tested up to: 4.7.3
7
- Stable tag: 4.32.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -78,6 +78,10 @@ https://translate.wordpress.org/projects/wp-plugins/user-role-editor/
78
 
79
 
80
  == Changelog ==
 
 
 
 
81
  = [4.32.1] 09.03.2017 =
82
  * Fix: URL to users.php page was built incorrectly after bulk roles assignment to the users selected at the 1st page of a users list.
83
 
4
  Tags: user, role, editor, security, access, permission, capability
5
  Requires at least: 4.0
6
  Tested up to: 4.7.3
7
+ Stable tag: 4.32.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
78
 
79
 
80
  == Changelog ==
81
+ = [4.32.2] 17.03.2017 =
82
+ * Fix: "Users->Grant Roles" button did not work with switched off option "Count Users without role" at "Settings->User Role Editor->Additional Modules" tab. "JQuery UI" library was not loaded.
83
+ * Update: minimal PHP version was raised to 5.3.
84
+
85
  = [4.32.1] 09.03.2017 =
86
  * Fix: URL to users.php page was built incorrectly after bulk roles assignment to the users selected at the 1st page of a users list.
87
 
user-role-editor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: User Role Editor
4
  Plugin URI: https://www.role-editor.com
5
  Description: Change/add/delete WordPress user roles and capabilities.
6
- Version: 4.32.1
7
  Author: Vladimir Garagulya
8
  Author URI: https://www.role-editor.com
9
  Text Domain: ure
@@ -23,7 +23,7 @@ if (defined('URE_PLUGIN_URL')) {
23
  wp_die('It seems that other version of User Role Editor is active. Please deactivate it before use this version');
24
  }
25
 
26
- define('URE_VERSION', '4.32.1');
27
  define('URE_PLUGIN_URL', plugin_dir_url(__FILE__));
28
  define('URE_PLUGIN_DIR', plugin_dir_path(__FILE__));
29
  define('URE_PLUGIN_BASE_NAME', plugin_basename(__FILE__));
@@ -34,7 +34,7 @@ require_once(URE_PLUGIN_DIR.'includes/classes/base-lib.php');
34
  require_once(URE_PLUGIN_DIR.'includes/classes/ure-lib.php');
35
 
36
  // check PHP version
37
- $ure_required_php_version = '5.2.4';
38
  $exit_msg = sprintf( 'User Role Editor requires PHP %s or newer.', $ure_required_php_version ) .
39
  '<a href="http://wordpress.org/about/requirements/"> ' . 'Please update!' . '</a>';
40
  Ure_Lib::check_version( PHP_VERSION, $ure_required_php_version, $exit_msg, __FILE__ );
3
  Plugin Name: User Role Editor
4
  Plugin URI: https://www.role-editor.com
5
  Description: Change/add/delete WordPress user roles and capabilities.
6
+ Version: 4.32.2
7
  Author: Vladimir Garagulya
8
  Author URI: https://www.role-editor.com
9
  Text Domain: ure
23
  wp_die('It seems that other version of User Role Editor is active. Please deactivate it before use this version');
24
  }
25
 
26
+ define('URE_VERSION', '4.32.2');
27
  define('URE_PLUGIN_URL', plugin_dir_url(__FILE__));
28
  define('URE_PLUGIN_DIR', plugin_dir_path(__FILE__));
29
  define('URE_PLUGIN_BASE_NAME', plugin_basename(__FILE__));
34
  require_once(URE_PLUGIN_DIR.'includes/classes/ure-lib.php');
35
 
36
  // check PHP version
37
+ $ure_required_php_version = '5.3';
38
  $exit_msg = sprintf( 'User Role Editor requires PHP %s or newer.', $ure_required_php_version ) .
39
  '<a href="http://wordpress.org/about/requirements/"> ' . 'Please update!' . '</a>';
40
  Ure_Lib::check_version( PHP_VERSION, $ure_required_php_version, $exit_msg, __FILE__ );