[wp-trac] [WordPress Trac] #29167: WP_Query bug when querying trashed post
WordPress Trac
noreply at wordpress.org
Sun Jan 4 18:51:14 UTC 2015
#29167: WP_Query bug when querying trashed post
------------------------------------+------------------------------
Reporter: ebinnion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.8
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Comment (by boonebgorges):
I've confirmed the bug. The basic strategy here - whitelisting posts if
their post_status was explicitly requested - looks good, but I think we'll
need a bit more logic to account for all the ways that the post_status
clauses can be built ('any', etc). I'll start by writing some unit tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29167#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list