WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 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:

Description

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

Change History (1)

comment:1 @scribu4 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.