Ticket #33206: 33206.wpdb.diff
File 33206.wpdb.diff, 847 bytes (added by , 4 years ago) |
---|
-
src/wp-admin/includes/upgrade.php
1686 1686 $tables = $wpdb->tables( 'global' ); 1687 1687 1688 1688 // sitecategories may not exist. 1689 if ( ! $ this->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) {1689 if ( ! $wpdb->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) { 1690 1690 unset( $tables['sitecategories'] ); 1691 1691 } 1692 1692 … … 1715 1715 $tables = $wpdb->tables( 'global' ); 1716 1716 1717 1717 // sitecategories may not exist. 1718 if ( ! $ this->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) {1718 if ( ! $wpdb->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) { 1719 1719 unset( $tables['sitecategories'] ); 1720 1720 } 1721 1721