WordPress.org

Make WordPress Core

Changeset 10413


Ignore:
Timestamp:
01/22/09 22:34:56 (5 years ago)
Author:
ryan
Message:

user_can_access_admin_page() fix. Props arena. fixes #8535 for 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-admin/includes/plugin.php

    r10394 r10413  
    863863    $parent = get_admin_page_parent(); 
    864864 
    865     if ( isset( $_wp_submenu_nopriv[$parent][$pagenow] ) ) 
     865    if ( !isset( $plugin_page ) && isset( $_wp_submenu_nopriv[$parent][$pagenow] ) ) 
    866866        return false; 
    867867 
Note: See TracChangeset for help on using the changeset viewer.