[wp-trac] [WordPress Trac] #51094: WP_Query.query with invalid post_status will return all
WordPress Trac
noreply at wordpress.org
Tue Feb 16 20:50:09 UTC 2021
#51094: WP_Query.query with invalid post_status will return all
-------------------------------------------------+-------------------------
Reporter: carsonreinke | Owner:
| metalandcoffee
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.7
Component: Query | Version: 3.9
Severity: critical | Resolution:
Keywords: dev-feedback has-patch needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by leogermani):
Actually, I made a small confusion when I first looked at this.
This is not directly related to #48556, but rather with its counterpart
#52094.
In #52094 I surface a series of inconsistencies in the status query, and I
think I include this bug here as well. I will try to work on that this
week.
Since it's not a small change, I'm not sure we will have it ready and
tested by the next release, so I'm not sure if you guys want to go with
the simple fix proposed here that addresses at least part of the problem.
But as I show in the other ticket, this is just one of the several issues.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51094#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list