[wp-trac] [WordPress Trac] #15202: get_calendar() lacks filters on it's database queries
WordPress Trac
noreply at wordpress.org
Thu Mar 27 18:08:11 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 Chouby):
If you want to include the filter in the first query, then I would rather
use the same way it is generally done in WordPress: keep AND in the filter
and add {{{WHERE 1=1 $where}}} in the first query.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15202#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list