[wp-trac] [WordPress Trac] #41239: Add filter in dynamic_sidebar() to allow changing the index before rendering

WordPress Trac noreply at wordpress.org
Wed Jul 5 17:42:38 UTC 2017


#41239: Add filter in dynamic_sidebar() to allow changing the index before
rendering
-------------------------------------+------------------------------
 Reporter:  jantank                  |       Owner:
     Type:  feature request          |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Widgets                  |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback close  |     Focuses:
-------------------------------------+------------------------------
Changes (by westonruter):

 * keywords:  reporter-feedback => reporter-feedback close


Comment:

 @jantank I think #40432 could indeed come soon. Perhaps 4.8.2.

 As for whether or not to add an additional filter, I think the rule of
 thumb is to be conservative and only add filters when they are absolutely
 needed. Since it seems we can leverage the `sidebars_widgets` filter to
 have the same result, then I'm thinking it's not ultimately required.

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


More information about the wp-trac mailing list