Changeset 41289 for trunk/src/wp-includes/functions.php
- Timestamp:
- 08/22/2017 11:51:11 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r41244 r41289 1389 1389 1390 1390 /* 1391 * Loop over the WP tables. If none exist, then scratch install is allowed.1391 * Loop over the WP tables. If none exist, then scratch installation is allowed. 1392 1392 * If one or more exist, suggest table repair since we got here because the 1393 1393 * options table could not be accessed. … … 1395 1395 $wp_tables = $wpdb->tables(); 1396 1396 foreach ( $wp_tables as $table ) { 1397 // The existence of custom user tables shouldn't suggest an insane state or prevent a clean install .1397 // The existence of custom user tables shouldn't suggest an insane state or prevent a clean installation. 1398 1398 if ( defined( 'CUSTOM_USER_TABLE' ) && CUSTOM_USER_TABLE == $table ) 1399 1399 continue; … … 4327 4327 // Request is hitting a file above ABSPATH 4328 4328 $subdirectory = substr( $abspath_fix, strpos( $abspath_fix, $script_filename_dir ) + strlen( $script_filename_dir ) ); 4329 // Strip off any file/query params from the path, appending the sub directory to the install 4329 // Strip off any file/query params from the path, appending the sub directory to the installation 4330 4330 $path = preg_replace( '#/[^/]*$#i', '' , $_SERVER['REQUEST_URI'] ) . $subdirectory; 4331 4331 } else { … … 4409 4409 4410 4410 /** 4411 * Determine whether a network is the main network of the Multisite install .4411 * Determine whether a network is the main network of the Multisite installation. 4412 4412 * 4413 4413 * @since 3.7.0
Note: See TracChangeset
for help on using the changeset viewer.