Skip to content

Commit

Permalink
Update includes/classes/API/SubscriptionsController.php
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com>
  • Loading branch information
jeffpaul and peterwilsoncc authored Aug 31, 2023
1 parent f769e29 commit 8ee42ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/API/SubscriptionsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public function receive_item( $request ) {
if ( ! empty( $request['post_data']['distributor_media'] ) ) {
\Distributor\Utils\set_media( $request['post_id'], $request['post_data']['distributor_media'] );
} else {
// remove any previously set featured image
// Remove any previously set featured image.
delete_post_meta( (int) $request['post_id'], '_thumbnail_id' );
}

Expand Down

0 comments on commit 8ee42ea

Please sign in to comment.