Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patterns: check for edited entity content property when exporting (Wo…
…rdPress#63227) * Because an item can either be an entity record fetched via getEntityRecord or getEditedEntityRecord check for content?.raw and content. The reason being getEditedEntityRecord calls getRawEntityRecord. getRawEntityRecord maps properties to their raw values. * Update type and add type check to keep the type linter happy Co-authored-by: ramonjd <[email protected]> Co-authored-by: ntsekouras <[email protected]> Co-authored-by: t-hamano <[email protected]> Co-authored-by: youknowriad <[email protected]>
- Loading branch information