General: Fix some code formatting issues.
A handful of code formatting issues were introduced in [44159], runs the auto-fixer on them. git-svn-id: https://develop.svn.wordpress.org/trunk@44160 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
934f0ca2b8
commit
7732cce708
@ -336,8 +336,8 @@ function wp_default_packages_scripts( &$scripts ) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
foreach ( $packages_dependencies as $package => $dependencies ) {
|
foreach ( $packages_dependencies as $package => $dependencies ) {
|
||||||
$handle = 'wp-' . $package;
|
$handle = 'wp-' . $package;
|
||||||
$path = "/wp-includes/js/dist/$package$suffix.js";
|
$path = "/wp-includes/js/dist/$package$suffix.js";
|
||||||
|
|
||||||
$scripts->add( $handle, $path, $dependencies, false, 1 );
|
$scripts->add( $handle, $path, $dependencies, false, 1 );
|
||||||
}
|
}
|
||||||
@ -1825,8 +1825,8 @@ function wp_default_styles( &$styles ) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
foreach ( $package_styles as $package => $dependencies ) {
|
foreach ( $package_styles as $package => $dependencies ) {
|
||||||
$handle = 'wp-' . $package;
|
$handle = 'wp-' . $package;
|
||||||
$path = '/wp-includes/css/dist/' . $package . '/style.css';
|
$path = '/wp-includes/css/dist/' . $package . '/style.css';
|
||||||
|
|
||||||
$styles->add( $handle, $path, $dependencies );
|
$styles->add( $handle, $path, $dependencies );
|
||||||
$styles->add_data( $handle, 'rtl', 'replace' );
|
$styles->add_data( $handle, 'rtl', 'replace' );
|
||||||
|
Loading…
Reference in New Issue
Block a user