[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 17:55:43 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:  3.6
Component:  Administration           |     Version:  3.5.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------

Comment (by nacin):

 It seems like a few areas ignore the preview_post_link filter, including a
 bunch of messages in edit-form-advanced.php, wp_ajax_get_permalink(). At
 some point, we should have a get_preview_post_link( $post ) function to
 consolidate all of this.

 Could this potentially break something? "Preview (Changes)" isn't just a
 link, it is a form POST, which is unlike most situations.

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


More information about the wp-trac mailing list