[wp-trac] [WordPress Trac] #17629: Separator between Settings menu and top-level plugin menus needs styling

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 1 21:27:44 UTC 2011


#17629: Separator between Settings menu and top-level plugin menus needs styling
--------------------------+---------------------
 Reporter:  ryan          |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.2
Component:  Menus         |     Version:  3.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------

Comment (by ryan):

 In [18109]:
 {{{
 #!CommitTicketReference repository="" revision="18109"
 Use array_pop( array_keys() ) instead of end() to find the end of the
 array. end() finds that last item added, which is not reliable with
 plugins that add items to the end and then sort them up with
 custom_menu_order. see #17629
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17629#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list