From 11bae4ded306934df183781bbdd7a14c70e6245c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 28 Jun 2017 12:55:43 +0000 Subject: [PATCH] Docs: Add a `@global` entry for `$post` variable in `wp_post_preview_js()`. Props avinapatel. Fixes #41194. Built from https://develop.svn.wordpress.org/trunk@40959 git-svn-id: http://core.svn.wordpress.org/trunk@40809 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 828f123491..26f9eb3a2c 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -5455,6 +5455,8 @@ function wp_delete_file( $file ) { * This prevents reusing the same tab for a preview when the user has navigated away. * * @since 4.3.0 + * + * @global WP_Post $post */ function wp_post_preview_js() { global $post; diff --git a/wp-includes/version.php b/wp-includes/version.php index 9845854bfb..c8a53b1212 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-40958'; +$wp_version = '4.9-alpha-40959'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.