diff --git a/src/wpt-post-to-mastodon.php b/src/wpt-post-to-mastodon.php index 8543f6f..624e1de 100644 --- a/src/wpt-post-to-mastodon.php +++ b/src/wpt-post-to-mastodon.php @@ -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;