mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-05 12:59:50 +00:00
The new block editor included in 5.6 introduces an api_version property that indicates which block API version the block is using. This commits makes this property available on the block type and the endpoint. Props TimothyBlynJacobs, gziolo. Fixes #51529. Built from https://develop.svn.wordpress.org/trunk@49224 git-svn-id: http://core.svn.wordpress.org/trunk@48986 1a063a9b-81f0-0310-95a4-ce76da25c4cd