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

WordPress Trac noreply at wordpress.org
Thu Mar 27 10:31:10 UTC 2014


#15202: get_calendar() lacks filters on it's database queries
-------------------------------+-----------------------------
 Reporter:  Viper007Bond       |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Future Release
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  template
-------------------------------+-----------------------------

Comment (by ximm):

 I added an updated patch. Changes:

 -  I included the first query ("Quick check. If we have no posts at all,
 abort!"). In order to do that I also had to remove the `AND` from the
 beginning of `getcalender_where`

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


More information about the wp-trac mailing list