Changeset 43569 for trunk/src/index.php
- Timestamp:
- 08/15/2018 06:22:00 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/index.php
r43328 r43569 27 27 // Die with an error message 28 28 $die = sprintf( 29 30 31 32 33 34 29 /* translators: %1$s: WordPress, %2$s: src, %3$s: build */ 30 __( '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.' ), 31 'WordPress', 32 '<code>src</code>', 33 '<code>build</code>' 34 ) . '</p>'; 35 35 $die .= '<p>' . sprintf( 36 36 /* translators: %s: WordPress */ 37 38 39 37 __( 'You can build %s by running:' ), 38 'WordPress' 39 ) . '</p>'; 40 40 $die .= '<p><code>npm install && grunt build</code></p>'; 41 41 $die .= '<p>' . sprintf( 42 42 /* translators: %1$s: NPM URL, %2$s: Grunt URL */ 43 44 45 46 47 43 __( 'This requires <a href="%1$s">NPM</a> and <a href="%2$s">Grunt</a>. <a href="%3$s">Read more about setting up your local development environment</a>.' ), 44 'https://www.npmjs.com/', 45 'https://gruntjs.com/', 46 __( 'https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/' ) 47 ) . '</p>'; 48 48 49 49 wp_die( $die, __( 'WordPress › Error' ) );
Note: See TracChangeset
for help on using the changeset viewer.