mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Set base if we return to network step 2. props scribu, fixes #15620.
git-svn-id: https://develop.svn.wordpress.org/trunk@17323 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2b4674a3b4
commit
9fd728dc4e
@ -307,6 +307,9 @@ function network_step2( $errors = false ) {
|
||||
global $base, $wpdb;
|
||||
$hostname = get_clean_basedomain();
|
||||
|
||||
if ( ! isset( $base ) )
|
||||
$base = trailingslashit( stripslashes( dirname( dirname( $_SERVER['SCRIPT_NAME'] ) ) ) );
|
||||
|
||||
// Wildcard DNS message.
|
||||
if ( is_wp_error( $errors ) )
|
||||
echo '<div class="error">' . $errors->get_error_message() . '</div>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user