Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#11174 closed defect (bug) (fixed)

Notice: Undefined variable: post_id in .../wp-includes/post.php while emptying trash

Reported by: sirzooro's profile sirzooro Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: General Keywords: has-patch
Focuses: Cc:

Description

WP uses $post_id instead of $postid while calling delete_post and deleted_post actions. Attached patch fixes this.

Attachments (1)

post.php.diff (498 bytes) - added by sirzooro 15 years ago.

Download all attachments as: .zip

Change History (2)

@sirzooro
15 years ago

#1 @ryan
15 years ago

  • Milestone changed from 3.0 to 2.9
  • Resolution set to fixed
  • Status changed from new to closed

Didn't see this ticket until I had already fixed it. [12222]

Note: See TracTickets for help on using tickets.