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