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:
parent
42ac7e7e13
commit
6ce9846893
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue