WordPress.org

Make WordPress Core

Changeset 18035


Ignore:
Timestamp:
05/25/11 16:06:42 (3 years ago)
Author:
ryan
Message:

Fix name of plugins submenu. Props ocean90. fixes #17530

File:
1 edited

Legend:

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

    r18026 r18035  
    181181        $count = ''; 
    182182    $menu[65] = array( sprintf( __('Plugins %s'), $count ), 'activate_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'div' ); 
     183     
     184    $submenu['plugins.php'][5]  = array( __('Installed Plugins'), 'activate_plugins', 'plugins.php' ); 
     185 
    183186        if ( ! is_multisite() ) { 
    184187            /* translators: add new plugin */ 
    185             $submenu['plugins.php'][5]  = array( __('Installed Plugins'), 'activate_plugins', 'plugins.php' ); 
    186188            $submenu['plugins.php'][10] = array( _x('Add New', 'plugin'), 'install_plugins', 'plugin-install.php' ); 
    187189            $submenu['plugins.php'][15] = array( _x('Editor', 'plugin editor'), 'edit_plugins', 'plugin-editor.php' ); 
Note: See TracChangeset for help on using the changeset viewer.