From ec70b4caeef90c094c099e887b8ce517237dd234 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 3 Aug 2022 14:30:34 +0000 Subject: [PATCH] Coding Standards: Remove extra space in two conditionals. This fixes WPCS errors in `WP_Site_Health::get_test_plugin_version()` and `::get_test_theme_version()`: * `Expected exactly one space between closing parenthesis and opening control structure; " " found.` * `Expected 1 space(s) after closing parenthesis; found 2` Follow-up to [53816]. See #56134. git-svn-id: https://develop.svn.wordpress.org/trunk@53817 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-site-health.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php index a2c8688ac7..c7b924cd6f 100644 --- a/src/wp-admin/includes/class-wp-site-health.php +++ b/src/wp-admin/includes/class-wp-site-health.php @@ -428,7 +428,7 @@ class WP_Site_Health { '

%s

', __( 'Your site has 1 active plugin, and it is up to date.' ) ); - } elseif ( $plugins_active > 0 ) { + } elseif ( $plugins_active > 0 ) { $result['description'] .= sprintf( '

%s

', sprintf( @@ -596,7 +596,7 @@ class WP_Site_Health { '

%s

', __( 'Your site has 1 installed theme, and it is up to date.' ) ); - } elseif ( $themes_total > 0 ) { + } elseif ( $themes_total > 0 ) { $result['description'] .= sprintf( '

%s

', sprintf(