WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#11245 closed defect (bug) (duplicate)

Sticky Posts ignore post__not_in

Reported by: markjaquith Owned by: ryan
Milestone: Priority: low
Severity: minor Version: 2.9
Component: Query Keywords:
Focuses: Cc:

Description

Doing a custom WP_Query on the is_home() page can result in sticky posts appearing in your result, even if you specifically excluded them with postnot_in

Sticky posts should honor postnot_in.

Change History (1)

comment:1 dd324 years ago

  • Milestone Unassigned deleted
  • Resolution set to duplicate
  • Status changed from new to closed

See #11246

Note: See TracTickets for help on using tickets.