Skip to content

Commit

Permalink
Preferences persistence - mark modified property as not readonly in s…
Browse files Browse the repository at this point in the history
…chema (#40637)

* Mark modified property as not readonly

* Remove context field from _modified which is specified on the outer object
  • Loading branch information
talldan committed May 2, 2022
1 parent 5451a52 commit d0b600f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/compat/wordpress-6.1/persisted-preferences.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ function gutenberg_register_persisted_preferences_meta() {
'description' => __( 'The date and time the preferences were updated.', 'default' ),
'type' => 'string',
'format' => 'date-time',
'context' => array( 'edit' ),
'readonly' => true,
'readonly' => false,
),
),
'additionalProperties' => true,
Expand Down

0 comments on commit d0b600f

Please sign in to comment.