Kill this check for now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
db41417539
commit
b929433507
|
@ -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