Changeset 47343 for branches/3.7/src/wp-includes/ms-functions.php
- Timestamp:
- 02/22/2020 12:05:12 PM (5 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
-
branches/3.7/src
- Property svn:mergeinfo changed
/trunk/src merged: 26252,26307,26512
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-includes/ms-functions.php
r39806 r47343 1131 1131 require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); 1132 1132 1133 $ wpdb->suppress_errors();1133 $suppress = $wpdb->suppress_errors(); 1134 1134 if ( $wpdb->get_results( "DESCRIBE {$wpdb->posts}" ) ) 1135 1135 die( '<h1>' . __( 'Already Installed' ) . '</h1><p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p></body></html>' ); 1136 $wpdb->suppress_errors( false);1136 $wpdb->suppress_errors( $suppress ); 1137 1137 1138 1138 $url = get_blogaddress_by_id( $blog_id ); … … 1181 1181 require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); 1182 1182 1183 $ wpdb->suppress_errors();1183 $suppress = $wpdb->suppress_errors(); 1184 1184 1185 1185 wp_install_defaults($user_id); 1186 1186 1187 $wpdb->suppress_errors( false);1187 $wpdb->suppress_errors( $suppress ); 1188 1188 } 1189 1189
Note: See TracChangeset
for help on using the changeset viewer.