Skip to content

Commit

Permalink
Do not use external author ID for setting author.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed Sep 7, 2023
1 parent 6b8d4b7 commit dcfcd64
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ public function pull( $items ) {
unset( $post_array['post_date_gmt'] );
unset( $post_array['post_modified'] );
unset( $post_array['post_modified_gmt'] );
unset( $post_array['post_author'] );

if ( ! empty( $item_array['post_id'] ) ) {
$update = true;
Expand Down

0 comments on commit dcfcd64

Please sign in to comment.