Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#8860 closed defect (bug) (fixed)

Sticky Posts Not Unstuck When Deleted

Reported by: chrisscott's profile chrisscott Owned by: jamierumbelow's profile jamierumbelow
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.7
Component: General Keywords: has-patch
Focuses: Cc:

Description

Sticky posts are not being unstuck when they are deleted. This results in the sticky_posts option array containing deleted posts.

Attachments (1)

sticky-post-unstick.diff (560 bytes) - added by jamierumbelow 16 years ago.
Fix for the unsticky post delete bug

Download all attachments as: .zip

Change History (8)

#1 @jamierumbelow
16 years ago

  • Owner changed from anonymous to jamierumbelow

I'll look into it.

#2 @jamierumbelow
16 years ago

  • Status changed from new to assigned

I can verify - working on a fix

@jamierumbelow
16 years ago

Fix for the unsticky post delete bug

#3 @jamierumbelow
16 years ago

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

#4 @DD32
16 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Please leave closing tickets as 'fixed' until the change is committed to SVN

#5 @DD32
16 years ago

  • Keywords has-patch added

#6 @azaozz
16 years ago

Think this should go in wp_delete_post() and doesn't need to check if the post is sticky as unstick_post() does that already.

#7 @azaozz
16 years ago

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

(In [10363]) "Unstick" posts when deleting, fixes #8860

Note: See TracTickets for help on using tickets.