spacedmonkey / wp-rest-blocks

Add gutenberg blocks data into post / page / widget REST API endpoints.

Home Page:https://wordpress.org/plugins/rest-api-blocks/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use block_version field instead of custom has_blocks field

swissspidy opened this issue · comments

In WordPress core there's a content.block_version field.

Instead of adding its own has_blocks field, the plugin could just make sure content.block_version is always shown, and not just in edit context.