Note in the hook docs for preview_post_link that the $post parameter was added.

See #28729.


git-svn-id: https://develop.svn.wordpress.org/trunk@28979 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-07-03 20:04:56 +00:00
parent a7c3b23f1c
commit 79dd39c19c

View File

@ -46,6 +46,7 @@ if ( 'publish' == $post->post_status ) {
* Filter the URI of a post preview in the post submit box.
*
* @since 2.0.5
* @since 4.0.0 $post parameter was added.
*
* @param string $preview_link URI the user will be directed to for a post preview.
* @param WP_Post $post Post object.