Dev Tools: Load the wp-admin build instructions from src.

This de-duplicates the content, so it only needs to be modified in one place.

Additionally, we now link to the NPM/Grunt install guides on the build instructions page.

Props pento, ocean90.
Fixes #43732.



git-svn-id: https://develop.svn.wordpress.org/trunk@44664 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast
2019-01-21 04:59:55 +00:00
parent 5d7089f5bf
commit b7794e63ce
2 changed files with 3 additions and 47 deletions

View File

@@ -50,8 +50,8 @@ $die .= '</ul>';
$die .= '<p>' . sprintf(
/* translators: 1: NPM URL, 2: Grunt URL, 3: Handbook URL */
__( '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>.' ),
'https://www.npmjs.com/',
'https://gruntjs.com/',
'https://www.npmjs.com/get-npm',
'https://gruntjs.com/getting-started',
__( 'https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/' )
) . '</p>';