Skip to content

Commit

Permalink
[not verified] publicize: check plan in publicize endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
retrofox committed Oct 28, 2021
1 parent 6c5c5ec commit ff1af7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function share_post( $request ) {
}

$publicize = publicize_init();
$result = $publicize->republicize_post( (int) $post_id, $message, $skip_connection_ids );
$result = $publicize->republicize_post( (int) $post_id, $message, $skip_connection_ids, true );
if ( false === $result ) {
return new WP_Error( 'not_found', 'Cannot find that post', array( 'status' => 404 ) );
}
Expand Down

0 comments on commit ff1af7a

Please sign in to comment.