mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Build tools: Fix the grunt format:php build.
Re-add variable that was removed on accident by [44359]. Also run `grunt format:php` to adjust the code style. .--This line, and those below, will be ignored-- M Gruntfile.js M src/index.php M src/wp-admin/index.php M src/wp-includes/class-wp-block-parser.php git-svn-id: https://develop.svn.wordpress.org/trunk@44360 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -36,25 +36,25 @@ $die = sprintf(
|
||||
'WordPress'
|
||||
) . '</p>';
|
||||
|
||||
$die .= '<p>' . __( 'Before running any grunt tasks you need to make sure the dependencies are installed. You can install these by running ');
|
||||
$die .= '<p>' . __( 'Before running any grunt tasks you need to make sure the dependencies are installed. You can install these by running ' );
|
||||
$die .= '<code style="color: green;">npm install</code>.</p>';
|
||||
|
||||
$die .= '<ul>';
|
||||
$die .= '<li>' . sprintf(
|
||||
/* translators: %s: WordPress */
|
||||
__( 'To build %s while developing run:' ),
|
||||
'WordPress'
|
||||
) . '<br /><br />';
|
||||
'WordPress'
|
||||
) . '<br /><br />';
|
||||
$die .= '<code style="color: green;">grunt build --dev</code></li>';
|
||||
$die .= '<li>' . sprintf(
|
||||
__( 'To build files automatically when changing the source files run:' ),
|
||||
'WordPress'
|
||||
) . '<br /><br />';
|
||||
__( 'To build files automatically when changing the source files run:' ),
|
||||
'WordPress'
|
||||
) . '<br /><br />';
|
||||
$die .= '<code style="color: green;">grunt watch</code></li>';
|
||||
$die .= '<li>' . sprintf(
|
||||
__( 'To create a production build of %s run:' ),
|
||||
'WordPress'
|
||||
) . '<br /><br />';
|
||||
__( 'To create a production build of %s run:' ),
|
||||
'WordPress'
|
||||
) . '<br /><br />';
|
||||
$die .= '<code style="color: green;">grunt build</code></li>';
|
||||
$die .= '</ul>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user