Changeset 13569
- Timestamp:
- 03/03/2010 07:27:18 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r13526 r13569 1825 1825 $wpdb->suppress_errors( $suppress ); 1826 1826 1827 $wp_tables = $wpdb->tables( 'all');1827 $wp_tables = $wpdb->tables(); 1828 1828 // Loop over the WP tables. If none exist, then scratch install is allowed. 1829 1829 // If one or more exist, suggest table repair since we got here because the options … … 1832 1832 // If one of the WP tables exist, then we are in an insane state. 1833 1833 if ( in_array( $table, $tables ) ) { 1834 // The existence of custom user tables shouldn't suggest an insane state or prevent a clean install. 1835 if ( defined( 'CUSTOM_USER_TABLE' ) && CUSTOM_USER_TABLE == $table ) 1836 continue; 1837 if ( defined( 'CUSTOM_USER_META_TABLE' ) && CUSTOM_USER_META_TABLE == $table ) 1838 continue; 1839 1834 1840 // If visiting repair.php, return true and let it take over. 1835 1841 if ( defined('WP_REPAIRING') )
Note: See TracChangeset
for help on using the changeset viewer.