[wp-trac] [WordPress Trac] #30254: add bypass filter to remove months dropdown on post table

WordPress Trac noreply at wordpress.org
Wed Nov 5 04:57:20 UTC 2014


#30254: add bypass filter to remove months dropdown on post table
----------------------------+-----------------------------
 Reporter:  norcross        |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 currently the `months_dropdown` function has a filter
 `months_dropdown_results` that can be used to remove the results (and thus
 hide the dropdown) but the SQL query is still run. this patch adds a
 filter to simply bypass the entire process (including post type to target
 specific types but allow others) and avoid running the query

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30254>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list