Skip to content

Commit

Permalink
Update lib/rest-api.php
Browse files Browse the repository at this point in the history
Co-authored-by: André <583546+oandregal@users.noreply.github.com>
  • Loading branch information
jorgefilipecosta and oandregal committed Jun 19, 2024
1 parent 7546112 commit 29c3b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function gutenberg_register_wp_rest_post_types_controller_fields() {
},
'schema' => array(
'type' => 'string',
'emum' => array( 'all', 'insert', 'contentOnly' ),
'enum' => array( 'all', 'insert', 'contentOnly' ),
'description' => __( 'The template_lock specified for the post type.', 'gutenberg' ),
'readonly' => true,
'context' => array( 'view', 'edit', 'embed' ),
Expand Down

0 comments on commit 29c3b46

Please sign in to comment.