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

Props sagarladani for the initial patch.
Fixes #41479.


git-svn-id: https://develop.svn.wordpress.org/trunk@41192 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2017-07-30 15:30:34 +00:00
parent d7ce3e77e9
commit 51319d3394

View File

@ -2823,6 +2823,9 @@ function _wp_customize_include() {
/**
* 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 $old_status Old post status.
* @param WP_Post $changeset_post Changeset post object.