[wp-trac] [WordPress Trac] #15202: get_calendar() lacks filters on it's database queries

WordPress Trac noreply at wordpress.org
Tue Mar 7 13:46:31 UTC 2017


#15202: get_calendar() lacks filters on it's database queries
-------------------------------------+------------------------
 Reporter:  Viper007Bond             |       Owner:
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:
Component:  Posts, Post Types        |     Version:
 Severity:  normal                   |  Resolution:  duplicate
 Keywords:  has-patch needs-refresh  |     Focuses:  template
-------------------------------------+------------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Future Release =>


Comment:

 Per the discussion in #29319, we should switch the calendar over to use
 `get_posts()` with a date query instead of introducing new filters for SQL
 query fragments.

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


More information about the wp-trac mailing list