WordPress.org

Make WordPress Core

Ticket #15796: add_sep_space.diff

File add_sep_space.diff, 1.0 KB (added by Frumph, 7 years ago)
  • wp-admin/menu.php

     
    118118        }
    119119
    120120        // if $ptype_menu_position is already populated or will be populated by a hard-coded value below, increment the position.
    121         $core_menu_positions = array(59, 60, 65, 70, 75, 80, 85, 99);
     121        $core_menu_positions = array(55, 60, 65, 70, 75, 80, 85, 99);
    122122        while ( isset($menu[$ptype_menu_position]) || in_array($ptype_menu_position, $core_menu_positions) )
    123123                $ptype_menu_position++;
    124124
     
    136136}
    137137unset($ptype, $ptype_obj, $ptype_class, $ptype_for_id, $ptype_menu_position, $menu_icon, $i, $tax);
    138138
    139 $menu[59] = array( '', 'read', 'separator2', '', 'wp-menu-separator' );
     139$menu[55] = array( '', 'read', 'separator2', '', 'wp-menu-separator' );
    140140
    141141if ( current_user_can( 'switch_themes') ) {
    142142        $menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div' );