[wp-trac] [WordPress Trac] #19541: wp_admin_bar_new_content_menu does not respect menu_position
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 17 01:39:10 UTC 2012
#19541: wp_admin_bar_new_content_menu does not respect menu_position
--------------------------+------------------
Reporter: davistobias | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: Toolbar | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by davistobias):
Replying to [comment:2 nacin]:
> I like this. array_multisort() seems a bit clever, though. Perhaps the
post type shifts to a value and make the position the new key.
Sorry for the slow response.
I am concerned about this as well, but my attempts using shifting yielded
only highly complex methods, and this one seemed reasonably
straightforward. I can play around a bit more, but I'm afraid any other
solution will look hackish.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19541#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list