mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Consistently apply 'preview_post_link' filter. fixes #19378.
git-svn-id: https://develop.svn.wordpress.org/trunk@23560 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1313,5 +1313,5 @@ function post_preview() {
|
||||
$url = add_query_arg( array( 'preview' => 'true', 'preview_id' => $id, 'preview_nonce' => $nonce ), get_permalink($id) );
|
||||
}
|
||||
|
||||
return $url;
|
||||
return apply_filters( 'preview_post_link', $url );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user