Make WordPress Core


Ignore:
Timestamp:
10/19/2010 06:23:23 PM (15 years ago)
Author:
ryan
Message:

Plugin editing for network admin. Props PeteMall. see #14435

File:
1 edited

Legend:

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

    r15716 r15853  
    1919$submenu = array();
    2020
     21$submenu['plugins.php'][5]  = array( __('Plugins'), 'manage_network_plugins', 'plugins.php' );
     22$submenu['plugins.php'][15] = array( _x('Editor', 'plugin editor'), 'edit_plugins', 'plugin-editor.php' );
     23
     24$submenu['themes.php'][5]  = array( __('Themes'), 'manage_network_themes', 'themes.php' );
     25$submenu['themes.php'][15] = array( _x('Editor', 'plugin editor'), 'edit_themes', 'theme-editor.php' );
     26
    2127require_once(ABSPATH . 'wp-admin/includes/menu.php');
    2228
Note: See TracChangeset for help on using the changeset viewer.