From 1b2fd64195b5ab6ac83ae62c26d06ea04633da51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Fri, 27 Oct 2023 19:57:51 +0000 Subject: [PATCH 1/2] Fix typos --- CHANGELOG.md | 2 +- README.md | 2 +- includes/classes/Authentication/Usernames.php | 2 +- includes/classes/SupportMonitor/Debug.php | 2 +- includes/classes/SupportMonitor/Monitor.php | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86673be..cec6d7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -152,7 +152,7 @@ All notable changes to this project will be documented in this file, per [the Ke ### Added -- If plugin updates via dashboard are disabled, still show notifcation that an update exists +- If plugin updates via dashboard are disabled, still show notification that an update exists ### Removed diff --git a/README.md b/README.md index 63fdaa9..3a24151 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ The Activity Log tracks key actions taken by logged in users and stores them in #### Logged Actions - `profile_update` Runs when a user profile is updated. Example log message: "User 1 profile updated." -- `set_user_role` Runs when a user's role has changed. Example log message: "User 1 role changed from editor to administator." +- `set_user_role` Runs when a user's role has changed. Example log message: "User 1 role changed from editor to administrator." - `updated_user_meta` Runs when certain user metadata has changed. Example log message: "User 1 meta updated. Key: nickname." - `user_register` Runs when a new user is registered. Example log message: "User 1 registered." - `deleted_user` Runs when a user is deleted. Example log message: "User 1 deleted." diff --git a/includes/classes/Authentication/Usernames.php b/includes/classes/Authentication/Usernames.php index 4b6703f..66c525e 100644 --- a/includes/classes/Authentication/Usernames.php +++ b/includes/classes/Authentication/Usernames.php @@ -39,7 +39,7 @@ public function prevent_common_username( $user, $username ) { if ( ! in_array( $tld, $test_tlds, true ) && in_array( strtolower( trim( $username ) ), $this->reserved_usernames(), true ) ) { return new \WP_Error( 'Auth Error', - __( 'Please have an administor change your username in order to meet current security measures.', 'tenup' ) + __( 'Please have an administrator change your username in order to meet current security measures.', 'tenup' ) ); } diff --git a/includes/classes/SupportMonitor/Debug.php b/includes/classes/SupportMonitor/Debug.php index e25a996..2f74d54 100644 --- a/includes/classes/SupportMonitor/Debug.php +++ b/includes/classes/SupportMonitor/Debug.php @@ -1,6 +1,6 @@ Date: Fri, 27 Oct 2023 20:00:48 +0000 Subject: [PATCH 2/2] Fix a fix --- includes/classes/SupportMonitor/Monitor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/classes/SupportMonitor/Monitor.php b/includes/classes/SupportMonitor/Monitor.php index c1643cb..f78d451 100644 --- a/includes/classes/SupportMonitor/Monitor.php +++ b/includes/classes/SupportMonitor/Monitor.php @@ -394,7 +394,7 @@ public function send_message( $data, $type = 'notice', $group = 'message' ) { } /** - * Check if login is enabled + * Check if logging is enabled * * @return boolean */