[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 20:14:21 UTC 2017


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

 * status:  new => closed
 * resolution:   => invalid


Comment:

 @westonruter "only add filters when they are absolutely needed" seems to
 be contradictory to the idea of hooks and filters. I thought, one would
 want as many as possible (reasonable) to allow for flexibility.

 I get, that this can be solved different and therefor a filter is not
 required, still I think, that WordPress would benefit from some more
 filters. Eventually I will send in another one around theme mods.

 But I accept, that my case is solved and the ticket can be closed.

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


More information about the wp-trac mailing list