From 6ce98468935b1afd8e5af1216f79182a6096621c Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 30 Jul 2017 15:31:42 +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. Built from https://develop.svn.wordpress.org/trunk@41192 git-svn-id: http://core.svn.wordpress.org/trunk@41032 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 3 +++ wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index b1d85e6f94..9fbe4323a3 100644 --- a/wp-includes/theme.php +++ b/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. diff --git a/wp-includes/version.php b/wp-includes/version.php index 384ad293c8..9d8da104e6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.