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:
ryan 2006-08-15 21:37:03 +00:00
parent db41417539
commit b929433507
1 changed files with 2 additions and 2 deletions

View File

@ -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) {