Make WordPress Core


Ignore:
Timestamp:
10/21/2010 07:55:28 PM (15 years ago)
Author:
nacin
Message:

Pruning shears.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/menu.php

    r15901 r15904  
    2727
    2828$plugin_update_count = $theme_update_count = $wordpress_update_count = 0;
    29 $update_plugins = get_site_transient( 'update_plugins' ); 
    30 if ( !empty($update_plugins->response) ) 
    31     $plugin_update_count = count( $update_plugins->response ); 
     29$update_plugins = get_site_transient( 'update_plugins' );
     30if ( !empty($update_plugins->response) )
     31    $plugin_update_count = count( $update_plugins->response );
    3232$menu[20] = array(sprintf( __('Plugins %s'), "<span class='update-plugins count-$plugin_update_count'><span class='plugin-count'>" . number_format_i18n($plugin_update_count) . "</span></span>" ), 'manage_network_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'div');
    3333$submenu['plugins.php'][5]  = array( __('Plugins'), 'manage_network_plugins', 'plugins.php' );
Note: See TracChangeset for help on using the changeset viewer.