Changeset 13229 for trunk/wp-includes/functions.php
- Timestamp:
- 02/19/2010 07:57:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r13210 r13229 1828 1828 $wpdb->suppress_errors( $suppress ); 1829 1829 1830 $wp_tables = $wpdb->tables( 'all', true ); 1830 1831 // Loop over the WP tables. If none exist, then scratch install is allowed. 1831 1832 // If one or more exist, suggest table repair since we got here because the options 1832 1833 // table could not be accessed. 1833 foreach ( $wpdb->tables as $table) {1834 foreach ( $wp_tables as $table ) { 1834 1835 // If one of the WP tables exist, then we are in an insane state. 1835 if ( in_array( $wpdb->prefix . $table, $tables) ) {1836 if ( in_array( $table, $tables ) ) { 1836 1837 // If visiting repair.php, return true and let it take over. 1837 1838 if ( defined('WP_REPAIRING') )
Note: See TracChangeset
for help on using the changeset viewer.