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
This commit is contained in:
parent
14b7ed65bb
commit
e509984261
@ -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'] );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user