Skip to content

Commit c226a10

Browse files
Update src/wp-includes/abilities/class-wp-settings-abilities.php
Co-authored-by: Dovid Levine <justlevine@gmail.com>
1 parent ff2a4ef commit c226a10

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/wp-includes/abilities/class-wp-settings-abilities.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ private static function register_get_settings(): void {
192192
'permission_callback' => array( __CLASS__, 'check_manage_options' ),
193193
'meta' => array(
194194
'annotations' => array(
195-
'readOnlyHint' => true,
196-
'destructiveHint' => false,
197-
'idempotentHint' => true,
195+
'readonly' => true,
196+
'destructive' => false,
197+
'idempotent' => true,
198198
),
199199
'show_in_rest' => true,
200200
),

0 commit comments

Comments
 (0)