Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#28729 closed enhancement (fixed)

Pass $post object to use of preview_post_link

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

Description

It will make the filter more useful.

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
12 years ago

  • Resolution → fixed
  • Status new → closed

In 28969:

Pass $post object to 'preview_post_link' filter.

props danielbachhuber.
fixes #28729.

#2 @DrewAPicture
12 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.