Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#28729 closed enhancement (fixed)

Pass $post object to use of preview_post_link

Reported by: danielbachhuber's profile danielbachhuber Owned by:
Milestone: 4.0 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch
Focuses: administration Cc:


It will make the filter more useful.

Attachments (1)

28729.1.diff (4.0 KB) - added by danielbachhuber 9 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
9 years ago

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

In 28969:

Pass $post object to 'preview_post_link' filter.

props danielbachhuber.
fixes #28729.

#2 @DrewAPicture
9 years ago

In 28979:

Note in the hook docs for preview_post_link that the $post parameter was added.

See #28729.

Note: See TracTickets for help on using tickets.