Remove Dashboard Access - Version 1.1.5

Version Description

Download this release

Release Info

Developer trustedlogin
Plugin Icon 128x128 Remove Dashboard Access
Version 1.1.5
Comparing to
See all releases

Code changes from version 1.1.4 to 1.1.5

inc/class.rda-options.php CHANGED
@@ -125,7 +125,7 @@ class RDA_Options {
125
  );
126
 
127
  foreach ( $settings as $key => $value ) {
128
- update_option( $key, $value );
129
  }
130
  }
131
 
125
  );
126
 
127
  foreach ( $settings as $key => $value ) {
128
+ add_option( $key, $value );
129
  }
130
  }
131
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Plugin Name ===
2
- Contributors: DrewAPicture
3
- Donate link: http://www.werdswords.com
4
- Tags: dashboard, access, users, administration
5
  Requires at least: 3.1.0
6
- Tested up to: 4.1.1
7
- Stable tag: 1.1.4
8
 
9
  Allows you to disable Dashboard access for users of a specific role or capability. Disallowed users are redirected to a chosen URL.
10
 
@@ -61,7 +61,7 @@ No. Disable the plugin if you don't wish to leverage the functionality.
61
 
62
  * In the HTML page source, look for the `<li>` container for the menu node you're targeting. It should take the form of `<li id="wp-admin-bar-SOMETHING">`
63
  * In `<li id="wp-admin-bar-SOMETHING">`, you want the "SOMETHING" part.
64
-
65
  <strong>How to filter the disallowed Toolbar nodes on the front-end:</strong>
66
 
67
  `
@@ -99,10 +99,11 @@ example.com/options-general.php?page=dashboard-access&rda_debug=1
99
 
100
  == Changelog ==
101
 
102
- = 1.1.4 on April 18, 2022 =
103
 
104
  Remove Dashboard Access is now being maintained by [TrustedLogin](https://www.trustedlogin.com/2022/02/21/remove-dashboard-access/)! Remove Dashboard Access aligns with what we do at TrustedLogin: simply making WordPress more secure. Email any questions to [support@trustedlogin.com](mailto:support@trustedlogin.com).
105
 
 
106
  * Fixed: Deprecated function `screen_icon()` warning
107
  * Fixed: Issue when front-end editing of profiles when the `$pagenow` global is not defined ([#24](https://github.com/trustedlogin/Remove-Dashboard-Access/issues/24))
108
  * Fixed: Potential `Invalid argument supplied for foreach()` PHP warning ([#22](https://github.com/trustedlogin/Remove-Dashboard-Access/pull/22))
@@ -147,7 +148,7 @@ Bug Fixes:
147
  * New Filter: `rda_toolbar_nodes` - Filter which back-end Toolbar nodes are hidden
148
  * New Filter: `rda_frontend_toolbar_nodes` - Filter which front-end Toolbar nodes are hidden
149
 
150
- = 0.4 =
151
 
152
  * Refined DOING_AJAX check for logged-out users, props @nacin and @BoiteAWeb
153
 
@@ -165,7 +166,7 @@ Bug Fixes:
165
 
166
  == Upgrade Notice ==
167
 
168
- = 0.4 =
169
 
170
  * Refined DOING_AJAX check for logged-out users
171
 
1
  === Plugin Name ===
2
+ Contributors: TrustedLogin
3
+ Donate link: https://www.trustedlogin.com
4
+ Tags: dashboard, access, users, administration, login, redirect, membership, restrict
5
  Requires at least: 3.1.0
6
+ Tested up to: 5.9.3
7
+ Stable tag: 1.1.5
8
 
9
  Allows you to disable Dashboard access for users of a specific role or capability. Disallowed users are redirected to a chosen URL.
10
 
61
 
62
  * In the HTML page source, look for the `<li>` container for the menu node you're targeting. It should take the form of `<li id="wp-admin-bar-SOMETHING">`
63
  * In `<li id="wp-admin-bar-SOMETHING">`, you want the "SOMETHING" part.
64
+
65
  <strong>How to filter the disallowed Toolbar nodes on the front-end:</strong>
66
 
67
  `
99
 
100
  == Changelog ==
101
 
102
+ = 1.1.4 & 1.1.5 on April 18, 2022 =
103
 
104
  Remove Dashboard Access is now being maintained by [TrustedLogin](https://www.trustedlogin.com/2022/02/21/remove-dashboard-access/)! Remove Dashboard Access aligns with what we do at TrustedLogin: simply making WordPress more secure. Email any questions to [support@trustedlogin.com](mailto:support@trustedlogin.com).
105
 
106
+ * Fixed: Deactivating and activating the plugin will no longer overwrite plugin settings
107
  * Fixed: Deprecated function `screen_icon()` warning
108
  * Fixed: Issue when front-end editing of profiles when the `$pagenow` global is not defined ([#24](https://github.com/trustedlogin/Remove-Dashboard-Access/issues/24))
109
  * Fixed: Potential `Invalid argument supplied for foreach()` PHP warning ([#22](https://github.com/trustedlogin/Remove-Dashboard-Access/pull/22))
148
  * New Filter: `rda_toolbar_nodes` - Filter which back-end Toolbar nodes are hidden
149
  * New Filter: `rda_frontend_toolbar_nodes` - Filter which front-end Toolbar nodes are hidden
150
 
151
+ = 0.4 =
152
 
153
  * Refined DOING_AJAX check for logged-out users, props @nacin and @BoiteAWeb
154
 
166
 
167
  == Upgrade Notice ==
168
 
169
+ = 0.4 =
170
 
171
  * Refined DOING_AJAX check for logged-out users
172
 
remove-dashboard-access.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Remove Dashboard Access
4
  * Plugin URI: https://www.trustedlogin.com/remove-dashboard-access/
5
  * Description: Removes Dashboard access for certain users based on capability.
6
- * Version: 1.1.4
7
  * Author: TrustedLogin
8
  * Author URI: https://www.trustedlogin.com
9
  * License: GPLv2
3
  * Plugin Name: Remove Dashboard Access
4
  * Plugin URI: https://www.trustedlogin.com/remove-dashboard-access/
5
  * Description: Removes Dashboard access for certain users based on capability.
6
+ * Version: 1.1.5
7
  * Author: TrustedLogin
8
  * Author URI: https://www.trustedlogin.com
9
  * License: GPLv2