Make WordPress Core


Ignore:
Timestamp:
08/31/2023 02:43:36 PM (20 months ago)
Author:
audrasjb
Message:

Coding Standards: Remove unused global variables in various /wp-admin/includes/ files.

Props upadalavipul.
Fixes #59254.

File:
1 edited

Legend:

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

    r56270 r56499  
    626626     * @global int  $wp_current_db_version The old (current) database version.
    627627     * @global int  $wp_db_version         The new database version.
    628      * @global wpdb $wpdb                  WordPress database abstraction object.
    629628     */
    630629    function wp_upgrade() {
    631         global $wp_current_db_version, $wp_db_version, $wpdb;
     630        global $wp_current_db_version, $wp_db_version;
    632631
    633632        $wp_current_db_version = __get_option( 'db_version' );
Note: See TracChangeset for help on using the changeset viewer.