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