Skip to content

Commit 4c06680

Browse files
Use 7.0 as the version
1 parent 55c25bd commit 4c06680

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@
1818
/**
1919
* Registers core settings abilities.
2020
*
21-
* @since 6.9.0
21+
* @since 7.0.0
2222
* @access private
2323
*/
2424
class WP_Settings_Abilities {
2525

2626
/**
2727
* Available setting groups with show_in_rest enabled.
2828
*
29-
* @since 6.9.0
29+
* @since 7.0.0
3030
* @var array
3131
*/
3232
private static $available_groups;
3333

3434
/**
3535
* Dynamic output schema built from registered settings.
3636
*
37-
* @since 6.9.0
37+
* @since 7.0.0
3838
* @var array
3939
*/
4040
private static $output_schema;
@@ -50,7 +50,7 @@ class WP_Settings_Abilities {
5050
/**
5151
* Registers all settings abilities.
5252
*
53-
* @since 6.9.0
53+
* @since 7.0.0
5454
*
5555
* @return void
5656
*/
@@ -62,7 +62,7 @@ public static function register(): void {
6262
/**
6363
* Initializes shared data for settings abilities.
6464
*
65-
* @since 6.9.0
65+
* @since 7.0.0
6666
*
6767
* @return void
6868
*/
@@ -75,7 +75,7 @@ private static function init(): void {
7575
/**
7676
* Gets unique setting groups that have show_in_rest enabled.
7777
*
78-
* @since 6.9.0
78+
* @since 7.0.0
7979
*
8080
* @return array List of unique group names.
8181
*/
@@ -128,7 +128,7 @@ private static function get_available_slugs(): array {
128128
* with their types, titles, descriptions, defaults, and any additional
129129
* schema properties from show_in_rest.
130130
*
131-
* @since 6.9.0
131+
* @since 7.0.0
132132
*
133133
* @return array JSON Schema for the output.
134134
*/
@@ -185,7 +185,7 @@ private static function build_output_schema(): array {
185185
/**
186186
* Registers the core/get-settings ability.
187187
*
188-
* @since 6.9.0
188+
* @since 7.0.0
189189
*
190190
* @return void
191191
*/
@@ -254,7 +254,7 @@ private static function register_get_settings(): void {
254254
/**
255255
* Permission callback for settings abilities.
256256
*
257-
* @since 6.9.0
257+
* @since 7.0.0
258258
*
259259
* @return bool True if the current user can manage options, false otherwise.
260260
*/
@@ -268,7 +268,7 @@ public static function check_manage_options(): bool {
268268
* Retrieves all registered settings that are exposed to the REST API,
269269
* grouped by their registration group.
270270
*
271-
* @since 6.9.0
271+
* @since 7.0.0
272272
*
273273
* @param array $input {
274274
* Optional. Input parameters.
@@ -321,7 +321,7 @@ public static function execute_get_settings( $input = array() ): array {
321321
/**
322322
* Casts a value to the appropriate type based on the setting's registered type.
323323
*
324-
* @since 6.9.0
324+
* @since 7.0.0
325325
*
326326
* @param mixed $value The value to cast.
327327
* @param string $type The registered type (string, boolean, integer, number, array, object).

0 commit comments

Comments
 (0)