]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/menu.php
WordPress 4.3-scripts
[autoinstalls/wordpress.git] / wp-admin / menu.php
index f4fee7281f9d4ba2c4f840903a9287a53283a146..17096a97a8757cbe5e00fa2f07e1f249daa35bdd 100644 (file)
@@ -18,8 +18,6 @@
  *     5: Icon for top level menu
  *
  * @global array $menu
- * @name $menu
- * @var array
  */
 
 $menu[2] = array( __('Dashboard'), 'read', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'dashicons-dashboard' );
@@ -172,8 +170,12 @@ $menu[60] = array( __( 'Appearance' ), $appearance_cap, 'themes.php', '', 'menu-
 unset( $appearance_cap );
 
 // Add 'Editor' to the bottom of the Appearance menu.
-if ( ! is_multisite() )
+if ( ! is_multisite() ) {
        add_action('admin_menu', '_add_themes_utility_last', 101);
+}
+/**
+ *
+ */
 function _add_themes_utility_last() {
        // Must use API on the admin_menu hook, direct modification is only possible on/before the _admin_menu hook
        add_submenu_page('themes.php', _x('Editor', 'theme editor'), _x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php');