Skip to content

Commit

Permalink
Sniffs
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Dec 30, 2023
1 parent b662899 commit 741c428
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wp-to-twitter-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down
2 changes: 1 addition & 1 deletion src/wp-to-twitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 741c428

Please sign in to comment.