[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 Dec 23 19:38:41 UTC 2020


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

 * milestone:  Awaiting Review => 5.7


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the ticket and the PR.

 Yes, I think a filter makes sense there. It would need a documentation
 block as per the [https://make.wordpress.org/core/handbook/best-practices
 /inline-documentation-standards/php/#4-hooks-actions-and-filters
 documentation standards], looks good to me otherwise.

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


More information about the wp-trac mailing list