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:
Sergey Biryukov
2013-03-01 16:46:25 +00:00
parent a8c27b4039
commit 3624fa4fde
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 );
}