Opened 7 years ago
Last modified 7 years ago
#47009 new defect (bug)
WP_Query bug with author=0
| Reported by: | mikylucky | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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?
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)