Kill this check for now.
git-svn-id: https://develop.svn.wordpress.org/trunk@4099 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1309112916
commit
01bfb73c52
@ -1350,8 +1350,8 @@ function user_can_access_admin_page() {
|
||||
if ( isset($plugin_page) && isset($_wp_submenu_nopriv[$parent][$plugin_page]) )
|
||||
return false;
|
||||
|
||||
if ( empty($parent) )
|
||||
return false;
|
||||
//if ( empty($parent) )
|
||||
//return false;
|
||||
|
||||
if (isset ($submenu[$parent])) {
|
||||
foreach ($submenu[$parent] as $submenu_array) {
|
||||
|
Loading…
Reference in New Issue
Block a user