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.

git-svn-id: https://develop.svn.wordpress.org/trunk@51551 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-08-05 13:10:05 +00:00
parent efe00618ab
commit b2be104b9d
2 changed files with 12 additions and 9 deletions

View File

@ -220,10 +220,13 @@ function wp_get_script_polyfill( $scripts, $tests ) {
function wp_default_packages_scripts( $scripts ) {
$suffix = wp_scripts_get_suffix();
// Expects multidimensional array like:
// 'a11y.js' => array('dependencies' => array(...), 'version' => '...'),
// 'annotations.js' => array('dependencies' => array(...), 'version' => '...'),
// 'api-fetch.js' => array(...
/*
* Expects multidimensional array like:
*
* 'a11y.js' => array('dependencies' => array(...), 'version' => '...'),
* 'annotations.js' => array('dependencies' => array(...), 'version' => '...'),
* 'api-fetch.js' => array(...
*/
$assets = include ABSPATH . WPINC . '/assets/script-loader-packages.php';
foreach ( $assets as $package_name => $package_data ) {

View File

@ -7,11 +7,11 @@
*
* start() and stop() must be called in pairs, for example:
*
* function something_to_profile() {
* wppf_start(__FUNCTION__);
* do_stuff();
* wppf_stop();
* }
* function something_to_profile() {
* wppf_start( __FUNCTION__ );
* do_stuff();
* wppf_stop();
* }
*
* Multiple profile blocks are permitted, and they may be nested.
*/