Docs: Document use of the `$wpdb` and `$wp_customize` globals in `_wp_customize_publish_changeset()`.

Props sagarladani for the initial patch.
Fixes #41479.

Built from https://develop.svn.wordpress.org/trunk@41192


git-svn-id: http://core.svn.wordpress.org/trunk@41032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2017-07-30 15:31:42 +00:00
parent 42ac7e7e13
commit 6ce9846893
2 changed files with 4 additions and 1 deletions

View File

@ -2823,6 +2823,9 @@ function _wp_customize_include() {
/** /**
* Publish a snapshot's changes. * Publish a snapshot's changes.
* *
* @global wpdb $wpdb WordPress database abstraction object.
* @global WP_Customize_Manager $wp_customize Customizer instance.
*
* @param string $new_status New post status. * @param string $new_status New post status.
* @param string $old_status Old post status. * @param string $old_status Old post status.
* @param WP_Post $changeset_post Changeset post object. * @param WP_Post $changeset_post Changeset post object.

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-alpha-41191'; $wp_version = '4.9-alpha-41192';
/** /**
* 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.