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:
@@ -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'] );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user