Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#24611 closed defect (bug) (fixed)

Pass $post to hooks in edit-form-advanced.php

Reported by: nacin's profile nacin Owned by: nacin's profile nacin
Milestone: 3.5.2 Priority: normal
Severity: normal Version: 3.5
Component: Plugins Keywords:
Focuses: Cc:

Description

Rather than relying on the post global or $post = get_post(), we should pass $post directly to the various hooks in edit-form-advanced.php.

Change History (5)

#1 @nacin
12 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 24446:

Pass $post to hooks in edit-form-advanced.php including edit_form_advanced and edit_form_after_*. fixes #24611.

#2 @nacin
12 years ago

In 24465:

Pass $post to hooks in edit-form-advanced.php including edit_form_advanced and edit_form_after_*. fixes #24611.

Merges [24446] to the 3.5 branch.

#3 @nacin
12 years ago

  • Milestone changed from 3.6 to 3.5.2

#4 @nacin
12 years ago

  • Version set to 3.5

#5 @nacin
12 years ago

#24580 was marked as a duplicate.

Note: See TracTickets for help on using tickets.