Skip to content

Commit

Permalink
Fix: Missing format, categories, and tags on the duplicate post actio…
Browse files Browse the repository at this point in the history
…n. (WordPress#61194)

Co-authored-by: jorgefilipecosta <[email protected]>
Co-authored-by: oandregal <[email protected]>
  • Loading branch information
3 people authored Apr 29, 2024
1 parent 5b154e5 commit 872bef5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/editor/src/components/post-actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,12 @@ export const duplicatePostAction = {
parent: item.parent,
password: item.password,
template: item.template,
format: item.format,
featured_media: item.featured_media,
menu_order: item.menu_order,
ping_status: item.ping_status,
categories: item.categories,
tags: item.tags,
},
{ throwOnError: true }
);
Expand Down

0 comments on commit 872bef5

Please sign in to comment.