From eedd15140536fcfb05ae9dc71bf9f52c591db57d Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 3 Jul 2014 20:05:14 +0000 Subject: [PATCH] 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 --- wp-admin/includes/meta-boxes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index 5a4d57e0c1..902bf95876 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -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.