Make WordPress Core

Changeset 51551


Ignore:
Timestamp:
08/05/2021 01:10:05 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix incorrect alignment in two comment blocks.

Tabs should only be used for indentation and not for mid-line alignment.

Props jrf.
See #53359.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r51540 r51551  
    221221    $suffix = wp_scripts_get_suffix();
    222222
    223     // Expects multidimensional array like:
    224     //  'a11y.js' => array('dependencies' => array(...), 'version' => '...'),
    225     //  'annotations.js' => array('dependencies' => array(...), 'version' => '...'),
    226     //  'api-fetch.js' => array(...
     223    /*
     224     * Expects multidimensional array like:
     225     *
     226     *     'a11y.js' => array('dependencies' => array(...), 'version' => '...'),
     227     *     'annotations.js' => array('dependencies' => array(...), 'version' => '...'),
     228     *     'api-fetch.js' => array(...
     229     */
    227230    $assets = include ABSPATH . WPINC . '/assets/script-loader-packages.php';
    228231
  • trunk/tests/phpunit/includes/wp-profiler.php

    r47122 r51551  
    88 * start() and stop() must be called in pairs, for example:
    99 *
    10  * function something_to_profile() {
    11  *  wppf_start(__FUNCTION__);
    12  *  do_stuff();
    13  *  wppf_stop();
    14  * }
     10 *     function something_to_profile() {
     11 *         wppf_start( __FUNCTION__ );
     12 *         do_stuff();
     13 *         wppf_stop();
     14 *     }
    1515 *
    1616 * Multiple profile blocks are permitted, and they may be nested.
Note: See TracChangeset for help on using the changeset viewer.