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

See #28729.

Built from https://develop.svn.wordpress.org/trunk@28979


git-svn-id: http://core.svn.wordpress.org/trunk@28768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2014-07-03 20:05:14 +00:00
parent b35982cbff
commit eedd151405
1 changed files with 1 additions and 0 deletions

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.