diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php index 046c0a8369..1c54865e66 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php @@ -21,6 +21,8 @@ class WP_REST_Pattern_Directory_Controller extends WP_REST_Controller { /** * Constructs the controller. + * + * @since 5.8.0 */ public function __construct() { $this->namespace = 'wp/v2'; @@ -29,6 +31,8 @@ class WP_REST_Pattern_Directory_Controller extends WP_REST_Controller { /** * Registers the necessary REST API routes. + * + * @since 5.8.0 */ public function register_routes() { register_rest_route( diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php index 3ab7dc993b..e6ccd1f0a5 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php @@ -365,6 +365,8 @@ class WP_REST_Sidebars_Controller extends WP_REST_Controller { /** * Retrieves the block type' schema, conforming to JSON Schema. * + * @since 5.8.0 + * * @return array Item schema data. */ public function get_item_schema() { diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php index 7853c73920..33fbcfa385 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php @@ -413,6 +413,8 @@ class WP_REST_Widget_Types_Controller extends WP_REST_Controller { * - form: The widget's admin form after updating the widget with the * given form data. * + * @since 5.8.0 + * * @global WP_Widget_Factory $wp_widget_factory * * @param WP_REST_Request $request Full details about the request. @@ -507,6 +509,8 @@ class WP_REST_Widget_Types_Controller extends WP_REST_Controller { * Returns the output of WP_Widget::widget() when called with the provided * instance. Used by encode_form_data() to preview a widget. + * @since 5.8.0 + * * @param string $widget The widget's PHP class name (see class-wp-widget.php). * @param array $instance Widget instance settings. * @return string @@ -521,6 +525,8 @@ class WP_REST_Widget_Types_Controller extends WP_REST_Controller { * Returns the output of WP_Widget::form() when called with the provided * instance. Used by encode_form_data() to preview a widget's form. * + * @since 5.8.0 + * * @param WP_Widget $widget_object Widget object to call widget() on. * @param array $instance Widget instance settings. * @return string diff --git a/wp-includes/version.php b/wp-includes/version.php index 8c850a61c3..8954496983 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51279'; +$wp_version = '5.9-alpha-51280'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.