WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#7739 closed defect (bug) (fixed)

Recent posts widget is showing sticky posts

Reported by: MtDewVirus Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.7
Component: General Keywords: has-patch, widget, sticky
Focuses: Cc:

Description

The Recent Posts widget should not reorder and add the stickies.

Attachments (1)

7739.diff (588 bytes) - added by MtDewVirus 6 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 MtDewVirus6 years ago

  • Summary changed from Recent posts widget is showing stickies to Recent posts widget is showing sticky posts

MtDewVirus6 years ago

comment:2 ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [8886]) Don't show stick posts in recent posts widget. Props MtDewVirus. fixes #7739

comment:3 ryan6 years ago

Would be best to use get_posts(), but this will do while we sort out the ramifications of sticky posts in WP_Query.

Note: See TracTickets for help on using tickets.