mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
REST API: Fix incorrect casing of patterns endpoint schema properties
Follow-up [53154]. Props talldanwp. See #55505. git-svn-id: https://develop.svn.wordpress.org/trunk@53171 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b1b59d27a0
commit
55cbbcd636
@ -160,13 +160,13 @@ class WP_REST_Block_Patterns_Controller extends WP_REST_Controller {
|
||||
'readonly' => true,
|
||||
'context' => array( 'view', 'edit', 'embed' ),
|
||||
),
|
||||
'viewport_Width' => array(
|
||||
'viewport_width' => array(
|
||||
'description' => __( 'The pattern viewport width for inserter preview.' ),
|
||||
'type' => 'number',
|
||||
'readonly' => true,
|
||||
'context' => array( 'view', 'edit', 'embed' ),
|
||||
),
|
||||
'block_Types' => array(
|
||||
'block_types' => array(
|
||||
'description' => __( 'Block types that the pattern is intended to be used with.' ),
|
||||
'type' => 'array',
|
||||
'readonly' => true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user