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

WordPress Trac noreply at wordpress.org
Wed Jul 10 20:36:09 UTC 2013


#24345: preview link for published posts does not apply the preview_post_link
filter
-----------------------------------------------+---------------------------
 Reporter:  joeybvi                            |       Owner:
     Type:  defect (bug)                       |      Status:  new
 Priority:  normal                             |   Milestone:  Future
Component:  Administration                     |  Release
 Severity:  normal                             |     Version:  3.5.1
 Keywords:  has-patch needs-testing 3.7-early  |  Resolution:
-----------------------------------------------+---------------------------
Changes (by nacin):

 * keywords:  has-patch needs-testing => has-patch needs-testing 3.7-early
 * milestone:  3.6 => Future Release


Comment:

 After re-reading the bug report and talking briefly with danielbachhuber,
 this makes more sense. I will say though, part of the problem is that
 clicking this button submits a form (to a new window), so right clicking
 it and opening it in a new window is actually just "Preview", not
 previewing any unsaved "Changes".

 This isn't a regression, and it's minor (since the button works normally,
 and degrades in functionality when you right-click anyway), so I'm moving
 this to 3.7. I would be interested in seeing a small plugin or snippet
 that uses the preview_post_link filter in an interesting way, because I
 can't say I've experienced the use case. I'm especially curious why, given
 a use case, there haven't been more tickets raised for the lack of
 preview_post_link filters in a few areas (like post updated messages as
 mentioned above)?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24345#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list