Skip to content

Commit

Permalink
Update wpt-post-to-mastodon.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Dec 31, 2023
1 parent 6bf7a66 commit b5cd065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wpt-post-to-mastodon.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function wpt_send_post_to_mastodon( $connection, $auth, $id, $status ) {
*/
$status = apply_filters( 'wpt_filter_mastodon_status', $status, $id, $auth );
if ( $do_post ) {
$return = $connection->post_status( $status );
$return = $connection->post_status( $status );
if ( isset( $return['id'] ) ) {
$success = true;
$http_code = 200;
Expand Down

0 comments on commit b5cd065

Please sign in to comment.