From ac73b2316d7dabac88f0c246c8b3d09be9f251dc Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Sun, 10 May 2020 11:35:18 +0200 Subject: [PATCH] typo fixes --- README.md | 4 ++-- inc/class-statifyblacklist-admin.php | 2 +- statify-blacklist.php | 2 +- test/statifyblacklist-test.php | 2 +- views/settings-page.php | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 70099f3..a8c1ead 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ visitors from search engines, just "false" referers from 301 redirects or you ow No. It only prevent's _Statify_ from tracking, nothing more or less. ### Does live filtering impact performance? ### -Yes, but probalby not noticeable. Checking a single referer string against a (usually small) list should be negligible compared to the total loading procedure. +Yes, but probably not noticeable. Checking a single referer string against a (usually small) list should be negligible compared to the total loading procedure. If this still is an issue for you, consider deactivating the filter and only run the one-time-cleanup or activate the cron job. ### Is any personal data collected? ### @@ -127,7 +127,7 @@ Because of this, an IP blacklist can only be applied while processing the reques ### 1.2.0 / 29.08.2016 ### * Switched from `in_array()` to faster `isset()` for referer checking -* Optional cron execiton implemented +* Optional cron execution implemented ### 1.1.2 / 17.08.2016 ### * Prepared for localization diff --git a/inc/class-statifyblacklist-admin.php b/inc/class-statifyblacklist-admin.php index 2644d4c..78a43fb 100644 --- a/inc/class-statifyblacklist-admin.php +++ b/inc/class-statifyblacklist-admin.php @@ -263,7 +263,7 @@ class StatifyBlacklist_Admin extends StatifyBlacklist { global $wpdb; // Execute filter on database. - // @codingStandardsIgnoreStart These statements prouce warnings, rework in future release (TODO). + // @codingStandardsIgnoreStart These statements produce warnings, rework in future release (TODO). if ( ! empty( $referer_regexp ) ) { $wpdb->query( $wpdb->prepare( diff --git a/statify-blacklist.php b/statify-blacklist.php index 2e94b7c..e9488c5 100644 --- a/statify-blacklist.php +++ b/statify-blacklist.php @@ -55,7 +55,7 @@ if ( statify_blacklist_compatibility_check() ) { // Autoload. spl_autoload_register( 'statify_blacklist_autoload' ); } else { - // Disbale plugin, if active. + // Disable plugin, if active. add_action( 'admin_init', 'statify_blacklist_disable' ); } diff --git a/test/statifyblacklist-test.php b/test/statifyblacklist-test.php index 16c6f41..a7a18e4 100644 --- a/test/statifyblacklist-test.php +++ b/test/statifyblacklist-test.php @@ -365,7 +365,7 @@ class StatifyBlacklist_Test extends PHPUnit\Framework\TestCase { $this->assertNotFalse( $result ); /* - * Unfortunately this is nencessary as long as we run PHP 5 tests, because "assertInternalType" is deprecated + * Unfortunately this is necessary as long as we run PHP 5 tests, because "assertInternalType" is deprecated * as of PHPUnit 8, but "assertIsArray" has been introduces in PHPUnit 7.5 which requires PHP >= 7.1. */ if ( method_exists( $this, 'assertIsArray' ) ) { diff --git a/views/settings-page.php b/views/settings-page.php index e69d429..fed2ed4 100755 --- a/views/settings-page.php +++ b/views/settings-page.php @@ -177,7 +177,7 @@ if ( ! empty( $_POST['statifyblacklist'] ) ) { @@ -257,7 +257,7 @@ if ( ! empty( $_POST['statifyblacklist'] ) ) { @@ -341,7 +341,7 @@ if ( ! empty( $_POST['statifyblacklist'] ) ) {