Version Description
- Fixed a compatibility issue with bbPress and the media grid view.
Download this release
Release Info
Developer | DrewAPicture |
Plugin | Remove Dashboard Access |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- inc/class.rda-remove-access.php +2 -1
- readme.txt +7 -3
- remove-dashboard-access.php +1 -1
inc/class.rda-remove-access.php
CHANGED
@@ -30,6 +30,7 @@ class RDA_Remove_Access {
|
|
30 |
* RDA Remove Access Init
|
31 |
*
|
32 |
* @since 1.0
|
|
|
33 |
*
|
34 |
* @param string $capability Capability passed from RDA_Options instance.
|
35 |
* @param array $settings Settings array passed from RDA_Options instance.
|
@@ -43,7 +44,7 @@ class RDA_Remove_Access {
|
|
43 |
|
44 |
$this->settings = $settings;
|
45 |
|
46 |
-
add_action( '
|
47 |
}
|
48 |
|
49 |
/**
|
30 |
* RDA Remove Access Init
|
31 |
*
|
32 |
* @since 1.0
|
33 |
+
* @since 1.1.3 Moved `is_user_allowed()` to the {@see 'init'} hook.
|
34 |
*
|
35 |
* @param string $capability Capability passed from RDA_Options instance.
|
36 |
* @param array $settings Settings array passed from RDA_Options instance.
|
44 |
|
45 |
$this->settings = $settings;
|
46 |
|
47 |
+
add_action( 'init', array( $this, 'is_user_allowed' ) );
|
48 |
}
|
49 |
|
50 |
/**
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ 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.
|
7 |
-
Stable tag: 1.1.
|
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 |
|
@@ -99,6 +99,10 @@ example.com/options-general.php?page=dashboard-access&rda_debug=1
|
|
99 |
|
100 |
== Changelog ==
|
101 |
|
|
|
|
|
|
|
|
|
102 |
= 1.1.2 =
|
103 |
|
104 |
* Bump tested-up-to to 4.1.0
|
@@ -167,4 +171,4 @@ Bug Fixes:
|
|
167 |
|
168 |
= 0.1 =
|
169 |
|
170 |
-
* Initial submission
|
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.8.2
|
7 |
+
Stable tag: 1.1.3
|
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 |
|
99 |
|
100 |
== Changelog ==
|
101 |
|
102 |
+
= 1.1.3 =
|
103 |
+
|
104 |
+
* Fixed a compatibility issue with bbPress and the media grid view.
|
105 |
+
|
106 |
= 1.1.2 =
|
107 |
|
108 |
* Bump tested-up-to to 4.1.0
|
171 |
|
172 |
= 0.1 =
|
173 |
|
174 |
+
* Initial submission
|
remove-dashboard-access.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Remove Dashboard Access
|
4 |
* Plugin URI: http://www.werdswords.com
|
5 |
* Description: Removes Dashboard access for certain users based on capability.
|
6 |
-
* Version: 1.1.
|
7 |
* Author: Drew Jaynes (DrewAPicture)
|
8 |
* Author URI: http://www.drewapicture.com
|
9 |
* License: GPLv2
|
3 |
* Plugin Name: Remove Dashboard Access
|
4 |
* Plugin URI: http://www.werdswords.com
|
5 |
* Description: Removes Dashboard access for certain users based on capability.
|
6 |
+
* Version: 1.1.3
|
7 |
* Author: Drew Jaynes (DrewAPicture)
|
8 |
* Author URI: http://www.drewapicture.com
|
9 |
* License: GPLv2
|