Changeset 55421
- Timestamp:
- 02/24/2023 03:08:26 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/maint/repair.php
r55276 r55421 98 98 $tables = $wpdb->tables(); 99 99 100 // Sitecategories may not exist if global terms are disabled.101 $query = $wpdb->prepare( 'SHOW TABLES LIKE %s', $wpdb->esc_like( $wpdb->sitecategories ) );102 if ( is_multisite() && ! $wpdb->get_var( $query ) ) {103 unset( $tables['sitecategories'] );104 }105 106 100 /** 107 101 * Filters additional database tables to repair.
Note: See TracChangeset
for help on using the changeset viewer.