[wp-trac] [WordPress Trac] #15796: Add spacing in the menu between 59 and 60 to allow menu items to appear above appearance

WordPress Trac noreply at wordpress.org
Thu Nov 27 12:33:15 UTC 2014


#15796: Add spacing in the menu between 59 and 60 to allow menu items to appear
above appearance
-------------------------+-----------------------------
 Reporter:  Frumph       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Plugins      |     Version:  3.1
 Severity:  normal       |  Resolution:
 Keywords:  close        |     Focuses:  administration
-------------------------+-----------------------------
Changes (by cfoellmann):

 * keywords:   => close


Comment:

 You can add menu item above 'Appearances' easily. Not fix or "cowboy-
 coding" like in the stackexchange topic needed:

 {{{
 add_menu_page(
         $page_title,
         $menu_title,
         $capability,
         $menu_slug,
         $function,
         $icon_url,
         '59.5' // this will move the item below the 'separator2' and
 'appearance' menu item
 );
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/15796#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list