WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#11174 closed defect (bug) (fixed)

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

Reported by: 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 6 years ago.

Download all attachments as: .zip

Change History (2)

@sirzooro6 years ago

comment:1 @ryan6 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.