[wp-trac] [WordPress Trac] #24345: preview link for published posts does not apply the preview_post_link filter
WordPress Trac
noreply at wordpress.org
Mon Sep 23 12:39:04 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.7
Component: Administration | Version: 3.5.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing 3.7-early |
-----------------------------------------------+--------------------
Comment (by aaroncampbell):
Replying to [comment:3 nacin]:
> 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.
We've had to do this for a client or two that use WP as the back end of
their site but use something else for displaying the front end. Having an
accurate preview means using their front end software.
Currently it means using both the `preview_post_link` filter as well as
some JS to override the links elsewhere. It's not a great solution, so
having the `preview_post_link` filter put in use everywhere (possibly
split into `preview_post_link` and `preview_post_action`?) would be really
nice.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24345#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list