mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 17:13:30 +01:00
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
This commit is contained in:
parent
f9e45047c1
commit
81e235444a
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user