From b3958d342b22692fb7c35fbd63395be2ad659137 Mon Sep 17 00:00:00 2001 From: jorgefilipecosta Date: Mon, 29 Jan 2024 12:34:18 +0000 Subject: [PATCH] Coding Standards: Remove unnecessary access and internal annotations from two functions in WP_REST_Templates_Controller. This commit removes unnecessary access and internal annotations from two functions that are private and as such don't require the annotation. It also adds the since annotation with the 6.5 release given that the annotation may be useful. Props swissspidy. See #60358. Built from https://develop.svn.wordpress.org/trunk@57374 git-svn-id: http://core.svn.wordpress.org/trunk@56880 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../endpoints/class-wp-rest-templates-controller.php | 6 ++---- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php index ab2fdce15b..1549fd4295 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php @@ -759,8 +759,7 @@ class WP_REST_Templates_Controller extends WP_REST_Controller { /** * Returns the source from where the template originally comes from. * - * @access private - * @internal + * @since 6.5.0 * * @param WP_Block_Template $template_object Template instance. * @return string Original source of the template one of theme, plugin, site, or user. @@ -808,8 +807,7 @@ class WP_REST_Templates_Controller extends WP_REST_Controller { /** * Returns a human readable text for the author of the template. * - * @access private - * @internal + * @since 6.5.0 * * @param WP_Block_Template $template_object Template instance. * @return string Human readable text for the author. diff --git a/wp-includes/version.php b/wp-includes/version.php index 6acf4e545c..5daf59e385 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57373'; +$wp_version = '6.5-alpha-57374'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.