[wp-trac] [WordPress Trac] #24345: preview link for published posts does not apply the preview_post_link filter

WordPress Trac noreply at wordpress.org
Tue Sep 15 04:14:25 UTC 2015


#24345: preview link for published posts does not apply the preview_post_link
filter
-------------------------------+-----------------------------
 Reporter:  joeybvi            |       Owner:  wonderboymusic
     Type:  defect (bug)       |      Status:  closed
 Priority:  lowest             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  3.5.1
 Severity:  minor              |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  administration
-------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34170"]:
 {{{
 #!CommitTicketReference repository="" revision="34170"
 Create a function, `get_preview_post_link()`, to DRY the logic for
 applying the `'preview_post_link'` filter to a URL.

 Props TomHarrigan, wonderboymusic.
 Fixes #24345.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24345#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list