From 39479eb86a4cdfac9d508f455d99de95662dd828 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 28 Oct 2021 14:09:07 +0000 Subject: [PATCH] Coding Standards: Correct alignment in `wp_enqueue_global_styles()`. 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 --- src/wp-includes/script-loader.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index fa757b4fed1e..7b66e1befa03 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -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 ) {