Skip to content

Commit

Permalink
Coding Standards: Correct alignment in wp_enqueue_global_styles().
Browse files Browse the repository at this point in the history
This fixes an `Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space` WPCS warning.

Follow-up to [50973], [51819].

See #53359.

git-svn-id: https://develop.svn.wordpress.org/trunk@51944 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Oct 28, 2021
1 parent 0cf6d3e commit 39479eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wp-includes/script-loader.php
Expand Up @@ -2310,8 +2310,9 @@ function wp_enqueue_global_styles() {
! is_admin()
);

$stylesheet = null;
$stylesheet = null;
$transient_name = 'global_styles_' . get_stylesheet();

if ( $can_use_cache ) {
$cache = get_transient( $transient_name );
if ( $cache ) {
Expand Down

0 comments on commit 39479eb

Please sign in to comment.