WordPress.org

Make WordPress Core

Ticket #33206: 33206.2.diff

File 33206.2.diff, 470 bytes (added by SergeyBiryukov, 4 years ago)
  • src/wp-includes/wp-db.php

     
    10161016                                $tables['usermeta'] = CUSTOM_USER_META_TABLE;
    10171017                }
    10181018
     1019                if ( isset( $tables['sitecategories'] ) && ! $this->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) {
     1020                        unset( $tables['sitecategories'] );
     1021                }
     1022
    10191023                return $tables;
    10201024        }
    10211025