syntax fix
This commit is contained in:
parent
f562ab8fa1
commit
6d4c5d65a8
@ -82,7 +82,7 @@ function authmgr_intercept_admin() {
|
|||||||
'deactivate' => AuthmgrCapability::ManagePlugins,
|
'deactivate' => AuthmgrCapability::ManagePlugins,
|
||||||
);
|
);
|
||||||
// allow manipulation of this list
|
// allow manipulation of this list
|
||||||
yourls_apply_filter( authmgr_action_capability_map, $action_capability_map);
|
yourls_apply_filter( 'authmgr_action_capability_map', $action_capability_map);
|
||||||
|
|
||||||
// intercept requests for plugin management
|
// intercept requests for plugin management
|
||||||
if ( isset( $_REQUEST['plugin'] ) ) {
|
if ( isset( $_REQUEST['plugin'] ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user