Skip to content

Commit

Permalink
Merge #63227 into wp/6.6
Browse files Browse the repository at this point in the history
Merge #63227 into wp/6.6
  • Loading branch information
ramonjd committed Jul 9, 2024
1 parent ed3f1d8 commit c2aef14
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ function getJsonFromItem( item ) {
{
__file: item.type,
title: item.title || item.name,
content: item.patternPost.content.raw,
syncStatus: item.patternPost.wp_pattern_sync_status,
content: item?.patternPost?.content?.raw || item.content,
syncStatus:
item?.patternPost?.wp_pattern_sync_status ||
item.wp_pattern_sync_status,
},
null,
2
Expand Down

0 comments on commit c2aef14

Please sign in to comment.