Skip to content

Commit

Permalink
Site Editor: Fix featured image not appearing in pages dataviews (Wor…
Browse files Browse the repository at this point in the history
…dPress#67562)

Co-authored-by: youknowriad <[email protected]>
Co-authored-by: oandregal <[email protected]>
  • Loading branch information
3 people authored and im3dabasia committed Dec 4, 2024
1 parent 10b4230 commit ba2e97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/dataviews/store/private-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const registerPostTypeSchema =

const fields = [
postTypeConfig.supports?.thumbnail &&
currentTheme?.[ 'theme-supports' ]?.[ 'post-thumbnails' ] &&
currentTheme?.theme_supports?.[ 'post-thumbnails' ] &&
featuredImageField,
titleField,
postTypeConfig.supports?.author && authorField,
Expand Down

0 comments on commit ba2e97e

Please sign in to comment.