mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
efe00618ab
commit
b2be104b9d
@ -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 ) {
|
||||
|
||||
@ -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.
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user