Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#24611 closed defect (bug) (fixed)

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

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

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
13 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → closed

In 24446:

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

#2 @nacin
13 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
13 years ago

  • Milestone 3.6 → 3.5.2

#4 @nacin
13 years ago

  • Version → 3.5

#5 @nacin
13 years ago

#24580 was marked as a duplicate.

Note: See TracTickets for help on using tickets.