Fix paste typos in upgrade.php.

Props tellyworth. Fixes #33206.
Built from https://develop.svn.wordpress.org/trunk@33609


git-svn-id: http://core.svn.wordpress.org/trunk@33576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz
2015-08-11 23:44:24 +00:00
parent 08743e43eb
commit 3bfd096440
2 changed files with 3 additions and 3 deletions

View File

@@ -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'] );
}