Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#4825 closed defect (bug) (fixed)

post_deleted in wp-includes/widget.php should be deleted_post

Reported by: donncha's profile donncha Owned by: westi's profile westi
Milestone: 2.3 Priority: high
Severity: normal Version: 2.3
Component: General Keywords:
Focuses: Cc:


The post_deleted action in post.php has been renamed to deleted_post but there's still mention of post_deleted in wp-includes/widgets.php on line 840

Should probably rename that add_action()in widgets.php

Change History (4)

#1 @foolswisdom
16 years ago

  • Milestone changed from 2.4 (next) to 2.3
  • Version set to 2.3

#2 @westi
16 years ago

  • Owner changed from anonymous to westi
  • Status changed from new to assigned

I'll fix this one later today.

#3 @westi
16 years ago

Hmm it looks like deleted_post never exists.

post_deleted was added in [5158] and does look like the right hook to run this on.

#4 @westi
16 years ago

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

(In [5960]) Ensure we flush the recent entries widget cache after a post has been deleted. Fixes #4825 props donncha

Note: See TracTickets for help on using tickets.