Make WordPress Core


Ignore:
Timestamp:
05/17/2011 06:19:00 AM (15 years ago)
Author:
azaozz
Message:

Remove links from the menu separators, see #17324

File:
1 edited

Legend:

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

    r17937 r17943  
    7070unset($theme_update_count, $wordpress_update_count, $update_themes, $update_plugins, $update_wordpress);
    7171
    72 $menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' );
     72$menu[4] = array( '', 'read', '', '', 'wp-menu-separator' );
    7373
    7474$menu[5] = array( __('Posts'), 'edit_posts', 'edit.php', '', 'open-if-no-js menu-top menu-icon-post', 'menu-posts', 'div' );
     
    153153unset($ptype, $ptype_obj, $ptype_class, $ptype_for_id, $ptype_menu_position, $menu_icon, $i, $tax);
    154154
    155 $menu[59] = array( '', 'read', 'separator2', '', 'wp-menu-separator' );
     155$menu[59] = array( '', 'read', '', '', 'wp-menu-separator' );
    156156
    157157if ( current_user_can( 'switch_themes') ) {
     
    233233$_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group
    234234
    235 $menu[99] = array( '', 'read', 'separator-last', '', 'wp-menu-separator-last' );
     235$menu[99] = array( '', 'read', '', '', 'wp-menu-separator-last' );
    236236
    237237// Back-compat for old top-levels
Note: See TracChangeset for help on using the changeset viewer.