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]) )
|
if ( isset($plugin_page) && isset($_wp_submenu_nopriv[$parent][$plugin_page]) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ( empty($parent) )
|
//if ( empty($parent) )
|
||||||
return false;
|
//return false;
|
||||||
|
|
||||||
if (isset ($submenu[$parent])) {
|
if (isset ($submenu[$parent])) {
|
||||||
foreach ($submenu[$parent] as $submenu_array) {
|
foreach ($submenu[$parent] as $submenu_array) {
|
||||||
|
|
Loading…
Reference in New Issue