[wp-trac] [WordPress Trac] #47009: WP_Query bug with author=0
WordPress Trac
noreply at wordpress.org
Mon Apr 22 07:10:12 UTC 2019
#47009: WP_Query bug with author=0
--------------------------+-----------------------------
Reporter: mikylucky | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hi all,
I found a weird behaviour of WP_Query using the argument author.
If author is set to 0, the query returns all the posts and not an empty
set.
Is this a wanted behaviour or a bug?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47009>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list