From ed432ee08df367a8c1900bc470bb66d12f54cf2a Mon Sep 17 00:00:00 2001 From: Torsten Landsiedel Date: Sun, 13 Aug 2023 19:59:07 +0200 Subject: [PATCH] Fix typos (#463) --- HealthCheck/Tools/class-health-check-plugin-compatibility.php | 4 ++-- changelog.txt | 4 ++-- tests/phpunit/test-site-status.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HealthCheck/Tools/class-health-check-plugin-compatibility.php b/HealthCheck/Tools/class-health-check-plugin-compatibility.php index 04cbb03..653ba73 100644 --- a/HealthCheck/Tools/class-health-check-plugin-compatibility.php +++ b/HealthCheck/Tools/class-health-check-plugin-compatibility.php @@ -128,7 +128,7 @@ function get_supported_php( $slug, $version ) { $tide_versions = get_transient( $transient_name ); if ( false === $tide_versions ) { - $tide_api_respone = wp_remote_get( + $tide_api_response = wp_remote_get( sprintf( 'https://wptide.org/api/v1/audit/wporg/plugin/%s/%s?reports=all', $slug, @@ -136,7 +136,7 @@ function get_supported_php( $slug, $version ) { ) ); - $tide_response = wp_remote_retrieve_body( $tide_api_respone ); + $tide_response = wp_remote_retrieve_body( $tide_api_response ); $json = json_decode( $tide_response ); diff --git a/changelog.txt b/changelog.txt index 9745d9a..b630d76 100644 --- a/changelog.txt +++ b/changelog.txt @@ -51,7 +51,7 @@ * Added `mbstring` and `json` (again) as requirements to the list of PHP extensions. * Added a missing toggle to the list of plugins/themes to the troubleshooting dashboard widget. * Added bulk actions to enable or disable plugins when troubleshooting, or to initiate troubleshooting mode. -* Added plugin compatibility checker ot the tools section. +* Added plugin compatibility checker to the tools section. * Added a dashboard widget to show your Site Health status at a glance when logging in. * Added filters for Site Health test results. * Added WP-CLI support, you can now run `wp health-check status` for a list of test and their status. @@ -227,7 +227,7 @@ * Fixed a bunch of PHP warnings = v 0.2.1 = -* Fixed version comparision bug - When the server had the exact required versions we reported it as out of date. +* Fixed version comparison bug - When the server had the exact required versions we reported it as out of date. = v 0.2 = * Updated with actual PHP and MySQL version requirements for WordPress 3.2 diff --git a/tests/phpunit/test-site-status.php b/tests/phpunit/test-site-status.php index 2894cda..952bfd1 100644 --- a/tests/phpunit/test-site-status.php +++ b/tests/phpunit/test-site-status.php @@ -119,7 +119,7 @@ public function testAsyncTiming() { ); /** - * Result should be > 100 miliseconds. + * Result should be > 100 milliseconds. */ $this->assertGreaterThan( 100,