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:
Ryan Boren 2006-08-15 21:37:03 +00:00
parent 1309112916
commit 01bfb73c52
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]) )
return false;
if ( empty($parent) )
return false;
//if ( empty($parent) )
//return false;
if (isset ($submenu[$parent])) {
foreach ($submenu[$parent] as $submenu_array) {