[wp-trac] [WordPress Trac] #51660: Adding a filter to WP_List_Table::months_dropdown() to allow overriding the list of months displayed

WordPress Trac noreply at wordpress.org
Wed Feb 10 14:09:46 UTC 2021


#51660: Adding a filter to WP_List_Table::months_dropdown() to allow overriding the
list of months displayed
--------------------------------------+-----------------------------
 Reporter:  geoffguillain             |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  5.7
Component:  Administration            |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:  performance
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch needs-dev-note commit => has-patch needs-dev-note
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 With [50163], the `months_dropdown_results` filter is no longer applied if
 the new `pre_months_dropdown_query` filter is used. I think it should only
 short-circuit the query and not the other filter.

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


More information about the wp-trac mailing list