Make WordPress Core

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?

Change History (1)

#1 @mukesh27
7 years ago

  • Component GeneralQuery
Note: See TracTickets for help on using tickets.