diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 3f685da67aec..1e2f1d5faeaa 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -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 ) { diff --git a/tests/phpunit/includes/wp-profiler.php b/tests/phpunit/includes/wp-profiler.php index 2cc27a8e57c6..17c79ee51b04 100644 --- a/tests/phpunit/includes/wp-profiler.php +++ b/tests/phpunit/includes/wp-profiler.php @@ -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. */