From 741c4287ad063c72f6191ae9c3fc1c62d3608250 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Sat, 30 Dec 2023 16:25:46 -0600 Subject: [PATCH] Sniffs --- src/wp-to-twitter-manager.php | 2 +- src/wp-to-twitter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-to-twitter-manager.php b/src/wp-to-twitter-manager.php index 33291c2..82a7e87 100644 --- a/src/wp-to-twitter-manager.php +++ b/src/wp-to-twitter-manager.php @@ -36,7 +36,7 @@ function wpt_updated_settings() { } // Connect to Mastodon. if ( isset( $_POST['mastodon_settings'] ) ) { - $post = map_deep( $_POST, 'sanitize_text_field' ); + $post = map_deep( $_POST, 'sanitize_text_field' ); $mastodon_message = wpt_update_mastodon_settings( false, $post ); } else { $mastodon_message = ''; diff --git a/src/wp-to-twitter.php b/src/wp-to-twitter.php index 039e928..b3846c3 100644 --- a/src/wp-to-twitter.php +++ b/src/wp-to-twitter.php @@ -287,7 +287,7 @@ function wpt_check_recent_tweet( $id, $auth ) { return true; } else { /** - * Modify the expiration window for recent status updates. + * Modify the expiration window for recent status updates. * This value does flood control, to prevent a runaway process from sending multiple status updates. Default `30` seconds. * * @hook wpt_recent_tweet_threshold