Make WordPress Core

Changeset 44360 for trunk/src/index.php


Ignore:
Timestamp:
12/24/2018 01:44:05 PM (7 years ago)
Author:
atimmer
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/index.php

    r44359 r44360  
    3737) . '</p>';
    3838
    39 $die .= '<p>' . __( 'Before running any grunt tasks you need to make sure the dependencies are installed. You can install these by running ');
     39$die .= '<p>' . __( 'Before running any grunt tasks you need to make sure the dependencies are installed. You can install these by running ' );
    4040$die .= '<code style="color: green;">npm install</code>.</p>';
    4141
     
    4444    /* translators: %s: WordPress */
    4545        __( 'To build %s while developing run:' ),
    46         'WordPress'
    47     ) . '<br /><br />';
     46    'WordPress'
     47) . '<br /><br />';
    4848$die .= '<code style="color: green;">grunt build --dev</code></li>';
    4949$die .= '<li>' . sprintf(
    50         __( 'To build files automatically when changing the source files run:' ),
    51         'WordPress'
    52     ) . '<br /><br />';
     50    __( 'To build files automatically when changing the source files run:' ),
     51    'WordPress'
     52) . '<br /><br />';
    5353$die .= '<code style="color: green;">grunt watch</code></li>';
    5454$die .= '<li>' . sprintf(
    55         __( 'To create a production build of %s run:' ),
    56         'WordPress'
    57     ) . '<br /><br />';
     55    __( 'To create a production build of %s run:' ),
     56    'WordPress'
     57) . '<br /><br />';
    5858$die .= '<code style="color: green;">grunt build</code></li>';
    5959$die .= '</ul>';
Note: See TracChangeset for help on using the changeset viewer.