mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-17 08:05:21 +01:00
Customize: Remove unused $wpdb
global in _wp_customize_publish_changeset()
.
Follow-up to [38810], [39180], [41192], [41824]. Props viralsampat. See #60021. Built from https://develop.svn.wordpress.org/trunk@57225 git-svn-id: http://core.svn.wordpress.org/trunk@56731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5e201d4b5b
commit
9b09f2c239
@ -3591,7 +3591,6 @@ function _wp_customize_include() {
|
||||
* @since 4.7.0
|
||||
* @access private
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
* @global WP_Customize_Manager $wp_customize Customizer instance.
|
||||
*
|
||||
* @param string $new_status New post status.
|
||||
@ -3599,7 +3598,7 @@ function _wp_customize_include() {
|
||||
* @param WP_Post $changeset_post Changeset post object.
|
||||
*/
|
||||
function _wp_customize_publish_changeset( $new_status, $old_status, $changeset_post ) {
|
||||
global $wp_customize, $wpdb;
|
||||
global $wp_customize;
|
||||
|
||||
$is_publishing_changeset = (
|
||||
'customize_changeset' === $changeset_post->post_type
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-alpha-57224';
|
||||
$wp_version = '6.5-alpha-57225';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user