WordPress.org

Make WordPress Core

Changeset 33609


Ignore:
Timestamp:
08/11/2015 11:43:29 PM (4 years ago)
Author:
azaozz
Message:

Fix paste typos in upgrade.php.
Props tellyworth. Fixes #33206.

File:
1 edited

Legend:

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

    r33597 r33609  
    16871687
    16881688            // sitecategories may not exist.
    1689             if ( ! $this->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) {
     1689            if ( ! $wpdb->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) {
    16901690                unset( $tables['sitecategories'] );
    16911691            }
     
    17161716
    17171717            // sitecategories may not exist.
    1718             if ( ! $this->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) {
     1718            if ( ! $wpdb->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) {
    17191719                unset( $tables['sitecategories'] );
    17201720            }
Note: See TracChangeset for help on using the changeset viewer.