[wp-trac] [WordPress Trac] #36532: Allow Reordering of Available Widgets

WordPress Trac noreply at wordpress.org
Mon Apr 18 06:37:26 UTC 2016


#36532: Allow Reordering of Available Widgets
-------------------------+---------------------------------
 Reporter:  mrwweb       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui, administration
-------------------------+---------------------------------

Comment (by swissspidy):

 Replying to [comment:2 welcher]:
 > I like this idea. Would having a filter available in `wp_list_widgets()`
 that would pass the current order of widget be enough of a control?

 Yeah, the order needs to be retrieved from somewhere and it should
 definitely be filterable.

 Note that there's also `WP_Customize_Widgets::get_available_widgets`, so
 this functionality would be needed in both places.

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


More information about the wp-trac mailing list