[wp-trac] [WordPress Trac] #20177: Unneccessary term cache query for pages
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 14 16:15:03 UTC 2012
#20177: Unneccessary term cache query for pages
--------------------------+------------------
Reporter: TheDeadMedic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Query | Version: 1.5
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by nacin):
To make this more sturdy, what if we did `if ( empty( $post_type ) )
$post_type = 'any';`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20177#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list