Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#17319 closed defect (bug) (invalid)

Sticky posts added to WP_Query

Reported by: ivaldi Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


Sticky posts are always added to the post results when you use WP_Query. The filters or meta_query are ignored.

Change History (1)

#1 @scribu
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

To make it not show sticky posts, just set 'ignore_sticky_posts' => true.

Note: See TracTickets for help on using tickets.