[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
Tue Feb 2 20:32:57 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:  closed
 Priority:  normal                           |   Milestone:  5.7
Component:  Administration                   |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note commit  |     Focuses:  performance
---------------------------------------------+-----------------------------
Changes (by whyisjake):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50163" 50163]:
 {{{
 #!CommitTicketReference repository="" revision="50163"
 Administration: New filter ahead of the months drop-down.

 As this can cause large, long running queries on sites with many posts,
 this filter allows the query to be modified, bypassing entirely if needed.

 Fixes #51660.

 Props geoffguillain, SergeyBiryukov, hareesh-pillai, hellofromTonya,
 TimothyBlynJacobs, whyisjake.
 }}}

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


More information about the wp-trac mailing list