WordPress.org

Make WordPress Core

Opened 10 months ago

Closed 10 months ago

Last modified 9 months ago

#24611 closed defect (bug) (fixed)

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

Reported by: nacin Owned by: 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)

comment:1 nacin10 months 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.

comment:2 nacin10 months 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.

comment:3 nacin10 months ago

  • Milestone changed from 3.6 to 3.5.2

comment:4 nacin10 months ago

  • Version set to 3.5

comment:5 nacin9 months ago

#24580 was marked as a duplicate.

Note: See TracTickets for help on using tickets.