mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-02 16:20:05 +00:00
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
This commit is contained in:
@@ -428,7 +428,7 @@ class WP_Site_Health {
|
||||
'<p>%s</p>',
|
||||
__( 'Your site has 1 active plugin, and it is up to date.' )
|
||||
);
|
||||
} elseif ( $plugins_active > 0 ) {
|
||||
} elseif ( $plugins_active > 0 ) {
|
||||
$result['description'] .= sprintf(
|
||||
'<p>%s</p>',
|
||||
sprintf(
|
||||
@@ -596,7 +596,7 @@ class WP_Site_Health {
|
||||
'<p>%s</p>',
|
||||
__( 'Your site has 1 installed theme, and it is up to date.' )
|
||||
);
|
||||
} elseif ( $themes_total > 0 ) {
|
||||
} elseif ( $themes_total > 0 ) {
|
||||
$result['description'] .= sprintf(
|
||||
'<p>%s</p>',
|
||||
sprintf(
|
||||
|
||||
Reference in New Issue
Block a user