WordPress.org

Make WordPress Core

Changeset 15492


Ignore:
Timestamp:
08/11/10 23:49:30 (7 years ago)
Author:
scribu
Message:

Revert MS related stuff in plugins.php from [15491]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r15491 r15492  
    300300} 
    301301 
    302 if ( is_multisite() && is_super_admin() ) { 
    303     $menu_perms = get_site_option('menu_items', array()); 
    304     if ( empty($menu_perms['plugins']) ) 
    305         add_action( 'admin_notices', '_admin_notice_multisite_activate_plugins_page' ); 
    306     unset($menu_perms); 
    307 } 
    308  
    309 $invalid = validate_active_plugins(); 
    310  
    311302require_once( ABSPATH . 'wp-admin/includes/default-list-tables.php' ); 
    312303 
     
    331322require_once(ABSPATH . 'wp-admin/admin-header.php'); 
    332323 
     324$invalid = validate_active_plugins(); 
    333325if ( !empty($invalid) ) 
    334326    foreach ( $invalid as $plugin_file => $error ) 
Note: See TracChangeset for help on using the changeset viewer.