From 81e235444a075f0462be05806952306b68e55b0c Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 21 Sep 2015 13:16:36 +0000 Subject: [PATCH] Docs: The `$post` parameter has been passed to the `preview_post_link` since 4.0.0. Fixes a version mixup introduced in [34170]. Props dimadin. See #24345. git-svn-id: https://develop.svn.wordpress.org/trunk@34363 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 4cdc9384a9..8ece4ea91f 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -1203,7 +1203,7 @@ function get_preview_post_link( $post = null, $query_args = array(), $preview_li * Filter the URL used for a post preview. * * @since 2.0.5 - * @since 4.4.0 $post parameter was added. + * @since 4.0.0 Added the `$post` parameter. * * @param string $preview_link URL used for the post preview. * @param WP_Post $post Post object.