mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-08 17:38:26 +01:00
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
This commit is contained in:
parent
c6289b7440
commit
11bae4ded3
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user