Version Description
Download this release
Release Info
Developer | shinephp |
Plugin | User Role Editor |
Version | 4.61.2 |
Comparing to | |
See all releases |
Code changes from version 4.61.1 to 4.61.2
- changelog.txt +4 -0
- includes/classes/base-lib.php +3 -3
- includes/classes/user-other-roles.php +1 -1
- includes/classes/user-role-editor.php +0 -1
- readme.txt +11 -26
- user-role-editor.php +2 -2
changelog.txt
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
CHANGES LOG (full version).
|
2 |
===========================
|
3 |
|
|
|
|
|
|
|
|
|
4 |
= [4.61.1] 25.01.2022 =
|
5 |
* Update: Marked as compatible with WordPress 5.9.
|
6 |
* Update: PHP 7.3 is marked as required.
|
1 |
CHANGES LOG (full version).
|
2 |
===========================
|
3 |
|
4 |
+
= [4.61.2] 01.03.2022 =
|
5 |
+
* Fix: "Users->Add New" page - other selected roles were not saved.
|
6 |
+
* Update: URE uses WordPress notification styles for own operation result output.
|
7 |
+
|
8 |
= [4.61.1] 25.01.2022 =
|
9 |
* Update: Marked as compatible with WordPress 5.9.
|
10 |
* Update: PHP 7.3 is marked as required.
|
includes/classes/base-lib.php
CHANGED
@@ -103,11 +103,11 @@ class URE_Base_Lib {
|
|
103 |
|
104 |
if ( $message ) {
|
105 |
if ( $error_style ) {
|
106 |
-
echo '<div id="message" class="
|
107 |
} else {
|
108 |
-
echo '<div id="message" class="
|
109 |
}
|
110 |
-
echo $message . '</div>';
|
111 |
}
|
112 |
}
|
113 |
// end of show_message()
|
103 |
|
104 |
if ( $message ) {
|
105 |
if ( $error_style ) {
|
106 |
+
echo '<div id="message" class="notice notice-warning is-dismissible">';
|
107 |
} else {
|
108 |
+
echo '<div id="message" class="notice notice-success is-dismissible">';
|
109 |
}
|
110 |
+
echo '<p>'. $message . '</p></div>';
|
111 |
}
|
112 |
}
|
113 |
// end of show_message()
|
includes/classes/user-other-roles.php
CHANGED
@@ -38,7 +38,7 @@ class URE_User_Other_Roles {
|
|
38 |
add_action( 'wpmu_activate_user', array($this, 'add_other_roles'), 10, 1 );
|
39 |
add_action( 'added_existing_user', array($this, 'add_other_roles'), 10, 1);
|
40 |
}
|
41 |
-
add_action( 'user_register', array($this, '
|
42 |
|
43 |
}
|
44 |
// end of set_hooks()
|
38 |
add_action( 'wpmu_activate_user', array($this, 'add_other_roles'), 10, 1 );
|
39 |
add_action( 'added_existing_user', array($this, 'add_other_roles'), 10, 1);
|
40 |
}
|
41 |
+
add_action( 'user_register', array($this, 'add_other_roles'), 10, 1 );
|
42 |
|
43 |
}
|
44 |
// end of set_hooks()
|
includes/classes/user-role-editor.php
CHANGED
@@ -758,7 +758,6 @@ class User_Role_Editor {
|
|
758 |
'cancel' => esc_html__('Cancel', 'user-role-editor'),
|
759 |
'add_capability' => esc_html__('Add Capability', 'user-role-editor'),
|
760 |
'delete_capability' => esc_html__('Delete Capability', 'user-role-editor'),
|
761 |
-
esc_html__('Continue?', 'user-role-editor'),
|
762 |
'default_role' => esc_html__('Default Role', 'user-role-editor'),
|
763 |
'set_new_default_role' => esc_html__('Set New Default Role', 'user-role-editor'),
|
764 |
'delete_capability' => esc_html__('Delete Capability', 'user-role-editor'),
|
758 |
'cancel' => esc_html__('Cancel', 'user-role-editor'),
|
759 |
'add_capability' => esc_html__('Add Capability', 'user-role-editor'),
|
760 |
'delete_capability' => esc_html__('Delete Capability', 'user-role-editor'),
|
|
|
761 |
'default_role' => esc_html__('Default Role', 'user-role-editor'),
|
762 |
'set_new_default_role' => esc_html__('Set New Default Role', 'user-role-editor'),
|
763 |
'delete_capability' => esc_html__('Delete Capability', 'user-role-editor'),
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: shinephp
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=vladimir%40shinephp%2ecom&lc=RU&item_name=ShinePHP%2ecom&item_number=User%20Role%20Editor%20WordPress%20plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
|
4 |
Tags: user, role, editor, security, access, permission, capability
|
5 |
Requires at least: 4.4
|
6 |
-
Tested up to: 5.9
|
7 |
-
Stable tag: 4.61.
|
8 |
Requires PHP: 7.3
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -81,31 +81,16 @@ https://translate.wordpress.org/projects/wp-plugins/user-role-editor/
|
|
81 |
|
82 |
== Changelog =
|
83 |
|
|
|
|
|
|
|
|
|
|
|
84 |
= [4.61.1] 25.01.2022 =
|
85 |
* Update: Marked as compatible with WordPress 5.9.
|
86 |
* Update: PHP 7.3 is marked as required.
|
87 |
* Update: If installed PHP/WordPress version is lower than required one, script termination ( wp_die() ) was replaced with notice-warning admin notice output.
|
88 |
|
89 |
-
= [4.61] 28.12.2021 =
|
90 |
-
* Update: WordPress 4.4 is marked as required.
|
91 |
-
* Update: PHP 7.4 is marked as required.
|
92 |
-
* Update: "Settings->User Role Editor->Tools->Reset" button is additionally protected from the unintended/accidental usage by text input field. Manual input of "Permanently delete all custom user roles and capabilities" text is required to enable the "Reset" button.
|
93 |
-
* Update: Partial code review and refactoring according with WordPress & PHP coding standards.
|
94 |
-
* Fix: "Users->selected user->Capabilities" page: 'select all' checkbox did not work.
|
95 |
-
|
96 |
-
= [4.60.2] 20.09.2021 =
|
97 |
-
* Update: Marked as compatible with WordPress 5.8.1
|
98 |
-
* Fix: Multisite: URE_Editor::is_full_network_sync() returned FALSE, instead TRUE for the AJAX call, while call was made from the Network Admin (wp-admin/network/).
|
99 |
-
|
100 |
-
= [4.60.1] 21.07.2021 =
|
101 |
-
* Update: Marked as compatible with WordPress 5.8.
|
102 |
-
* Fix: PHP Notice: Undefined property: URE_User_View::$multisite in /wp-content/plugins/user-role-editor/includes/classes/user-view.php on line 145
|
103 |
-
|
104 |
-
= [4.60] 24.06.2021 =
|
105 |
-
* New: Notification box was replaced with one based on the [jpillora/nofifyjs](https://notifyjs.jpillora.com/) jQuery plugin. It does not move down page content. It disappears automatically after 5 seconds. Click on it to remove it manually.
|
106 |
-
* Fix: "Add capability" shows warning styled notification when needed (invalid characters, etc.) instead of a successful one.
|
107 |
-
* Fix: Capabilities group uncheck and revert selection is blocked for the administrator role to exclude accident deletion of permissions from it.
|
108 |
-
|
109 |
File changelog.txt contains the full list of changes.
|
110 |
|
111 |
== Additional Documentation ==
|
@@ -116,8 +101,8 @@ I am ready to answer on your questions about plugin usage. Use [plugin page comm
|
|
116 |
|
117 |
== Upgrade Notice ==
|
118 |
|
119 |
-
= [4.61.
|
120 |
-
* Update: Marked as compatible with WordPress 5.9.
|
121 |
-
*
|
122 |
-
* Update:
|
123 |
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=vladimir%40shinephp%2ecom&lc=RU&item_name=ShinePHP%2ecom&item_number=User%20Role%20Editor%20WordPress%20plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
|
4 |
Tags: user, role, editor, security, access, permission, capability
|
5 |
Requires at least: 4.4
|
6 |
+
Tested up to: 5.9.1
|
7 |
+
Stable tag: 4.61.2
|
8 |
Requires PHP: 7.3
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
81 |
|
82 |
== Changelog =
|
83 |
|
84 |
+
= [4.61.2] 01.03.2022 =
|
85 |
+
* Update: Marked as compatible with WordPress 5.9.1
|
86 |
+
* Fix: "Users->Add New" page - other selected roles were not saved.
|
87 |
+
* Update: URE uses WordPress notification styles for own operation result output.
|
88 |
+
|
89 |
= [4.61.1] 25.01.2022 =
|
90 |
* Update: Marked as compatible with WordPress 5.9.
|
91 |
* Update: PHP 7.3 is marked as required.
|
92 |
* Update: If installed PHP/WordPress version is lower than required one, script termination ( wp_die() ) was replaced with notice-warning admin notice output.
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
File changelog.txt contains the full list of changes.
|
95 |
|
96 |
== Additional Documentation ==
|
101 |
|
102 |
== Upgrade Notice ==
|
103 |
|
104 |
+
= [4.61.2] 01.03.2022 =
|
105 |
+
* Update: Marked as compatible with WordPress 5.9.1
|
106 |
+
* Fix: "Users->Add New" page - other selected roles were not saved.
|
107 |
+
* Update: URE uses WordPress notification styles for own operation result output.
|
108 |
|
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.61.
|
7 |
Author: Vladimir Garagulya
|
8 |
Author URI: https://www.role-editor.com
|
9 |
Text Domain: user-role-editor
|
@@ -31,7 +31,7 @@ if ( defined( 'URE_VERSION' ) ) {
|
|
31 |
return;
|
32 |
}
|
33 |
|
34 |
-
define( 'URE_VERSION', '4.61.
|
35 |
define( 'URE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
36 |
define( 'URE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
37 |
define( 'URE_PLUGIN_BASE_NAME', plugin_basename( __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.61.2
|
7 |
Author: Vladimir Garagulya
|
8 |
Author URI: https://www.role-editor.com
|
9 |
Text Domain: user-role-editor
|
31 |
return;
|
32 |
}
|
33 |
|
34 |
+
define( 'URE_VERSION', '4.61.2' );
|
35 |
define( 'URE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
36 |
define( 'URE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
37 |
define( 'URE_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
|