[wp-trac] Re: [WordPress Trac] #7423: in WP_Query,
sanitization breaks usage of multiple post_status values
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 29 03:26:38 GMT 2008
#7423: in WP_Query, sanitization breaks usage of multiple post_status values
-------------------------+--------------------------------------------------
Reporter: markjaquith | Owner: markjaquith
Type: defect | Status: assigned
Priority: high | Milestone: 2.7
Component: General | Version: 2.6
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by DD32):
I've found that using a custom post_type w/ WP_Reqwrite & using p=0123
syntax can cause anoyances rather simply, Which stems from
http://trac.wordpress.org/browser/trunk/wp-includes/query.php#L1287
specifically setting the post_type if it thinks the request is for one of
those, It might be worth noting that for this ticket, to get it to trust
the passed post_type if need be?
--
Ticket URL: <http://trac.wordpress.org/ticket/7423#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list