Ticket #4825 (closed defect (bug): fixed)

Opened 1 year ago

Last modified 1 year ago

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

Reported by: donncha Assigned to: westi
Priority: high Milestone: 2.3
Component: General Version: 2.3
Severity: normal Keywords:
Cc:

Description

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

08/27/07 20:34:32 changed by foolswisdom

  • version set to 2.3.
  • milestone changed from 2.4 (next) to 2.3.

08/28/07 08:28:24 changed by westi

  • owner changed from anonymous to westi.
  • status changed from new to assigned.

I'll fix this one later today.

08/28/07 20:11:17 changed by westi

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.

08/28/07 20:12:43 changed by westi

  • status changed from assigned to closed.
  • resolution set to fixed.

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