[wp-trac] [WordPress Trac] #15202: get_calendar() lacks filters on it's database queries
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 14 15:32:26 UTC 2012
#15202: get_calendar() lacks filters on it's database queries
--------------------------+-----------------------------
Reporter: Viper007Bond | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Template | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------------
Changes (by Chouby):
* keywords: needs-patch => has-patch
Comment:
The proposed patch adds two filters: getcalendar_join and
getcalendar_where (as it is done for wp_get_archives).
My choice was not to include the date in the where filter. The main reason
for this is that this way the filter is called only one time for the 4 sql
queries included in get_calendar.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15202#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list