diff --git a/core/admin/class-admin.php b/core/admin/class-admin.php index c67166f..ef8cf84 100644 --- a/core/admin/class-admin.php +++ b/core/admin/class-admin.php @@ -133,7 +133,7 @@ public function admin_notices() { 'content' => sprintf( wp_kses( /* translators: %1$s: Replaced with the Zero Spam settings page URL */ - __( 'Zero Spam Enhanced Protection is currenlty enabled, but missing a valid license key. Add your license key to enable enhanced site protection.', 'zero-spam' ), + __( 'Zero Spam Enhanced Protection is currently enabled, but missing a valid license key. Add your license key to enable enhanced site protection.', 'zero-spam' ), array( 'strong' => array(), 'a' => array( diff --git a/core/class-access.php b/core/class-access.php index 4f36ea9..3640aea 100644 --- a/core/class-access.php +++ b/core/class-access.php @@ -165,7 +165,7 @@ public static function get_blocked_details( $blocked_record, $failed = false ) { /** * Checks if an IP has been blocked * - * @param array $access_checks Array of exisiting access checks. + * @param array $access_checks Array of existing access checks. * @param string $user_ip The user's IP address. * @param array $settings The plugin settings. */ diff --git a/core/class-utilities.php b/core/class-utilities.php index bae278d..87b1639 100644 --- a/core/class-utilities.php +++ b/core/class-utilities.php @@ -308,7 +308,7 @@ public static function log( $entry, $mode = 'a', $file = 'zerospam' ) { } /** - * Validates submitted data agaisnt the WP core disallowed list. + * Validates submitted data against the WP core disallowed list. */ public static function is_disallowed( $content ) { $disallowed_keys = trim( get_option( 'disallowed_keys' ) ); @@ -768,7 +768,7 @@ public static function is_whitelisted( $ip ) { * @return boolean|array False if geolocation is unavailable or array of location information. */ public static function geolocation( $ip ) { - // The standarized location array that will be returned. + // The standardized location array that will be returned. $location_details = array( 'type' => false, 'hostname' => false, @@ -803,7 +803,7 @@ public static function geolocation( $ip ) { // ipstack returned an error, log it for future reference. self::log( wp_json_encode( $ipstack_location['error'] ) ); } else { - // Add available location info to the standarized array. + // Add available location info to the standardized array. if ( ! empty( $ipstack_location['type'] ) ) { $location_details['type'] = $ipstack_location['type']; } @@ -856,7 +856,7 @@ public static function geolocation( $ip ) { $ipinfo_location = ZeroSpam\Modules\IPinfoModule::get_geolocation( $ip ); if ( ! empty( $ipinfo_location ) ) { // IPinfo token provided, process the response. - // Add available location info to the standarized array. + // Add available location info to the standardized array. if ( ! empty( $ipinfo_location['hostname'] ) ) { $location_details['hostname'] = $ipinfo_location['hostname']; } diff --git a/includes/class-cli.php b/includes/class-cli.php index 356d525..a0fabdf 100644 --- a/includes/class-cli.php +++ b/includes/class-cli.php @@ -56,7 +56,7 @@ public function set( $args, $assoc_args ) { } } } else { - WP_CLI::error( __( 'Opps! You didn\'t specify a setting to set (ex. wp zerospam set --share_data=enabled).', 'zero-spam' ) ); + WP_CLI::error( __( 'Oops! You didn\'t specify a setting to set (ex. wp zerospam set --share_data=enabled).', 'zero-spam' ) ); } } } diff --git a/modules/davidwalsh/class-davidwalsh.php b/modules/davidwalsh/class-davidwalsh.php index d681422..4d54c4c 100644 --- a/modules/davidwalsh/class-davidwalsh.php +++ b/modules/davidwalsh/class-davidwalsh.php @@ -142,7 +142,7 @@ public function settings( $settings ) { 'desc' => sprintf( wp_kses( /* translators: %s: url */ - __( 'Comma-seperated list of custom form selectors that should use the David Walsh technique.', 'zero-spam' ), + __( 'Comma-separated list of custom form selectors that should use the David Walsh technique.', 'zero-spam' ), array( 'a' => array( 'target' => array(), diff --git a/readme.txt b/readme.txt index 1f1b8f4..0f5011a 100644 --- a/readme.txt +++ b/readme.txt @@ -196,7 +196,7 @@ If hosting with Pantheon, see their [known issues page](https://pantheon.io/docs = v5.3.4 = -* fix(notice): removed dismiss button on intial install to ensure plugin settings are configured before use +* fix(notice): removed dismiss button on initial install to ensure plugin settings are configured before use = v5.3.3 = @@ -321,7 +321,7 @@ If hosting with Pantheon, see their [known issues page](https://pantheon.io/docs * feat(email domains): resolves #246, ability to block disposable and malicious email domains * perf(sharing): sharing detections optimized * perf(disallowed list): removed the unused cron to sync disallowed words -* chore(disallowed list): updated to the lastest splorp's disallowed list +* chore(disallowed list): updated to the latest splorp's disallowed list * docs(htaccess): added a notice & recommended max number of blocked ips when using .htaccess * fix(ipinfo): fix for uncaught ipinfo exception