diff --git a/includes/post-types/bots.php b/includes/post-types/bots.php index 710dc92..3cd4e43 100644 --- a/includes/post-types/bots.php +++ b/includes/post-types/bots.php @@ -656,6 +656,9 @@ function save_meta( $post_id ) { update_post_meta($post_id, 'output_archive_filename', $_POST['output-archive-filename']); update_post_meta($post_id, 'output_archive_date', $_POST['output-archive-date']); + + + if ($_POST['bot_tweets']){ $bot_tweets = explode("\n", str_replace("\r", "", $_POST['bot_tweets'])); $twitter_oembed = 'https://publish.twitter.com/oembed?url='; @@ -702,7 +705,6 @@ function save_meta( $post_id ) { global $helpers; if ( $helpers->is_mastodon_instance($tweet_url) ){ $bot_tweets_html .= '
'; - break; } } }