From 51319d33947762bc645bf0de11403eb5805fcb49 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 30 Jul 2017 15:30:34 +0000 Subject: [PATCH] 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 --- src/wp-includes/theme.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index b1d85e6f94..9fbe4323a3 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -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.