diff --git a/src/index.php b/src/index.php
index 16c2a20e2d..c145b46088 100644
--- a/src/index.php
+++ b/src/index.php
@@ -26,24 +26,24 @@ wp_load_translations_early();
// Die with an error message
$die = sprintf(
- /* translators: %1$s: WordPress, %2$s: src, %3$s: build */
- __( 'You seem to be running %1$s from the %2$s directory. %1$s needs to be built and run from the %3$s directory before we can get started.' ),
- 'WordPress',
- 'src',
- 'build'
- ) . '
src',
+ 'build'
+) . '';
$die .= '' . sprintf( /* translators: %s: WordPress */ - __( 'You can build %s by running:' ), - 'WordPress' - ) . '
'; + __( 'You can build %s by running:' ), + 'WordPress' +) . ''; $die .= 'npm install && grunt build
' . sprintf( /* translators: %1$s: NPM URL, %2$s: Grunt URL */ - __( 'This requires NPM and Grunt. Read more about setting up your local development environment.' ), - 'https://www.npmjs.com/', - 'https://gruntjs.com/', - __( 'https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/' ) - ) . '
'; + __( 'This requires NPM and Grunt. Read more about setting up your local development environment.' ), + 'https://www.npmjs.com/', + 'https://gruntjs.com/', + __( 'https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/' ) +) . ''; wp_die( $die, __( 'WordPress › Error' ) ); \ No newline at end of file diff --git a/src/wp-activate.php b/src/wp-activate.php index dc3a0d42f5..ecdfddd09b 100644 --- a/src/wp-activate.php +++ b/src/wp-activate.php @@ -76,7 +76,9 @@ get_header( 'wp-activate' );get_error_message(); ?>
- + } + } else { + $url = isset( $result['blog_id'] ) ? get_home_url( (int) $result['blog_id'] ) : ''; + $user = get_userdata( (int) $result['user_id'] ); + ?> +user_login; ?>
@@ -159,8 +161,8 @@ get_header( 'wp-activate' );