Make WordPress Core


Ignore:
Timestamp:
12/23/2023 02:41:37 PM (10 months ago)
Author:
SergeyBiryukov
Message:

Customize: Remove unused $wpdb global in _wp_customize_publish_changeset().

Follow-up to [38810], [39180], [41192], [41824].

Props viralsampat.
See #60021.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r57153 r57225  
    35923592 * @access private
    35933593 *
    3594  * @global wpdb                 $wpdb         WordPress database abstraction object.
    35953594 * @global WP_Customize_Manager $wp_customize Customizer instance.
    35963595 *
     
    36003599 */
    36013600function _wp_customize_publish_changeset( $new_status, $old_status, $changeset_post ) {
    3602     global $wp_customize, $wpdb;
     3601    global $wp_customize;
    36033602
    36043603    $is_publishing_changeset = (
Note: See TracChangeset for help on using the changeset viewer.