mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +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. Built from https://develop.svn.wordpress.org/trunk@34363 git-svn-id: http://core.svn.wordpress.org/trunk@34327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bbae198372
commit
b336035dac
@ -1203,7 +1203,7 @@ function get_preview_post_link( $post = null, $query_args = array(), $preview_li
|
|||||||
* Filter the URL used for a post preview.
|
* Filter the URL used for a post preview.
|
||||||
*
|
*
|
||||||
* @since 2.0.5
|
* @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 string $preview_link URL used for the post preview.
|
||||||
* @param WP_Post $post Post object.
|
* @param WP_Post $post Post object.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-34362';
|
$wp_version = '4.4-alpha-34363';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user