From 0e2f9ad5b68d5064dd8ac188f0e4681b6a7e121f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 29 Oct 2021 16:52:57 +0000 Subject: [PATCH] Coding Standards: Correct alignment in `WP_Site_Health::get_test_update_temp_backup_writable()`. This fixes an `Equals sign not aligned with surrounding assignments; expected 1 space but found 6 spaces` WPCS warning. Follow-up to [51815]. See #51857, #53359. Built from https://develop.svn.wordpress.org/trunk@51951 git-svn-id: http://core.svn.wordpress.org/trunk@51540 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-site-health.php | 24 +++++++++++----------- wp-includes/version.php | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index c1431d2f85..c45a2ccc63 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/wp-admin/includes/class-wp-site-health.php @@ -1978,8 +1978,8 @@ class WP_Site_Health { $themes_dir_is_writable = $wp_filesystem->is_writable( "$wp_content/upgrade/temp-backup/themes" ); if ( $plugins_dir_exists && ! $plugins_dir_is_writable && $themes_dir_exists && ! $themes_dir_is_writable ) { - $result['status'] = 'critical'; - $result['label'] = sprintf( + $result['status'] = 'critical'; + $result['label'] = sprintf( /* translators: %s: temp-backup */ __( 'Plugins and themes %s directories exist but are not writable' ), 'temp-backup' @@ -1994,8 +1994,8 @@ class WP_Site_Health { } if ( $plugins_dir_exists && ! $plugins_dir_is_writable ) { - $result['status'] = 'critical'; - $result['label'] = sprintf( + $result['status'] = 'critical'; + $result['label'] = sprintf( /* translators: %s: temp-backup */ __( 'Plugins %s directory exists but is not writable' ), 'temp-backup' @@ -2009,8 +2009,8 @@ class WP_Site_Health { } if ( $themes_dir_exists && ! $themes_dir_is_writable ) { - $result['status'] = 'critical'; - $result['label'] = sprintf( + $result['status'] = 'critical'; + $result['label'] = sprintf( /* translators: %s: temp-backup */ __( 'Themes %s directory exists but is not writable' ), 'temp-backup' @@ -2024,8 +2024,8 @@ class WP_Site_Health { } if ( ( ! $plugins_dir_exists || ! $themes_dir_exists ) && $backup_dir_exists && ! $backup_dir_is_writable ) { - $result['status'] = 'critical'; - $result['label'] = sprintf( + $result['status'] = 'critical'; + $result['label'] = sprintf( /* translators: %s: temp-backup */ __( 'The %s directory exists but is not writable' ), 'temp-backup' @@ -2039,8 +2039,8 @@ class WP_Site_Health { } if ( ! $backup_dir_exists && $upgrade_dir_exists && ! $upgrade_dir_is_writable ) { - $result['status'] = 'critical'; - $result['label'] = sprintf( + $result['status'] = 'critical'; + $result['label'] = sprintf( /* translators: %s: upgrade */ __( 'The %s directory exists but is not writable' ), 'upgrade' @@ -2054,8 +2054,8 @@ class WP_Site_Health { } if ( ! $upgrade_dir_exists && ! $wp_filesystem->is_writable( $wp_content ) ) { - $result['status'] = 'critical'; - $result['label'] = sprintf( + $result['status'] = 'critical'; + $result['label'] = sprintf( /* translators: %s: upgrade */ __( 'The %s directory cannot be created' ), 'upgrade' diff --git a/wp-includes/version.php b/wp-includes/version.php index 69afcfd9a8..2948f02297 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51950'; +$wp_version = '5.9-alpha-51951'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.