Ticket #15796: add_sep_space.diff
| File add_sep_space.diff, 1.0 KB (added by , 15 years ago) |
|---|
-
wp-admin/menu.php
118 118 } 119 119 120 120 // 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(5 9, 60, 65, 70, 75, 80, 85, 99);121 $core_menu_positions = array(55, 60, 65, 70, 75, 80, 85, 99); 122 122 while ( isset($menu[$ptype_menu_position]) || in_array($ptype_menu_position, $core_menu_positions) ) 123 123 $ptype_menu_position++; 124 124 … … 136 136 } 137 137 unset($ptype, $ptype_obj, $ptype_class, $ptype_for_id, $ptype_menu_position, $menu_icon, $i, $tax); 138 138 139 $menu[5 9] = array( '', 'read', 'separator2', '', 'wp-menu-separator' );139 $menu[55] = array( '', 'read', 'separator2', '', 'wp-menu-separator' ); 140 140 141 141 if ( current_user_can( 'switch_themes') ) { 142 142 $menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div' );