From e509984261f64d1eddcda74bfdf63701615dd50f Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 11 Aug 2015 23:43:29 +0000 Subject: [PATCH] Fix paste typos in upgrade.php. Props tellyworth. Fixes #33206. git-svn-id: https://develop.svn.wordpress.org/trunk@33609 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 86c6f9ade8..f2f9aa7f85 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -1686,7 +1686,7 @@ function upgrade_network() { $tables = $wpdb->tables( 'global' ); // sitecategories may not exist. - if ( ! $this->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) { + if ( ! $wpdb->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) { unset( $tables['sitecategories'] ); } @@ -1715,7 +1715,7 @@ function upgrade_network() { $tables = $wpdb->tables( 'global' ); // sitecategories may not exist. - if ( ! $this->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) { + if ( ! $wpdb->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) { unset( $tables['sitecategories'] ); }