From 2eabdd1490adadb3a6f9b58ee6c3c799740d4e20 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 26 Sep 2022 22:10:16 +0000 Subject: [PATCH] Docs: Increase the specificity of various property documentation. See #55646 Built from https://develop.svn.wordpress.org/trunk@54318 git-svn-id: http://core.svn.wordpress.org/trunk@53877 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-locale-switcher.php | 2 +- wp-includes/class-wp-object-cache.php | 2 +- wp-includes/class-wp-post-type.php | 4 ++-- wp-includes/class-wp-rewrite.php | 12 ++++++------ wp-includes/version.php | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/wp-includes/class-wp-locale-switcher.php b/wp-includes/class-wp-locale-switcher.php index 028ad48d55..2e498eb3f8 100644 --- a/wp-includes/class-wp-locale-switcher.php +++ b/wp-includes/class-wp-locale-switcher.php @@ -34,7 +34,7 @@ class WP_Locale_Switcher { * Holds all available languages. * * @since 4.7.0 - * @var array An array of language codes (file names without the .mo extension). + * @var string[] An array of language codes (file names without the .mo extension). */ private $available_languages = array(); diff --git a/wp-includes/class-wp-object-cache.php b/wp-includes/class-wp-object-cache.php index 6ca91a34fd..cd84b17753 100644 --- a/wp-includes/class-wp-object-cache.php +++ b/wp-includes/class-wp-object-cache.php @@ -52,7 +52,7 @@ class WP_Object_Cache { * List of global cache groups. * * @since 3.0.0 - * @var array + * @var string[] */ protected $global_groups = array(); diff --git a/wp-includes/class-wp-post-type.php b/wp-includes/class-wp-post-type.php index ab9fccc681..35c4e52d20 100644 --- a/wp-includes/class-wp-post-type.php +++ b/wp-includes/class-wp-post-type.php @@ -222,7 +222,7 @@ final class WP_Post_Type { * Default empty array. * * @since 4.6.0 - * @var array $taxonomies + * @var string[] $taxonomies */ public $taxonomies = array(); @@ -282,7 +282,7 @@ final class WP_Post_Type { * @link https://developer.wordpress.org/block-editor/developers/block-api/block-templates/ * * @since 5.0.0 - * @var array $template + * @var array[] $template */ public $template = array(); diff --git a/wp-includes/class-wp-rewrite.php b/wp-includes/class-wp-rewrite.php index a20de7128e..c5ba216f27 100644 --- a/wp-includes/class-wp-rewrite.php +++ b/wp-includes/class-wp-rewrite.php @@ -185,7 +185,7 @@ class WP_Rewrite { * Rewrite rules to match against the request to find the redirect or query. * * @since 1.5.0 - * @var array + * @var string[] */ public $rules; @@ -195,7 +195,7 @@ class WP_Rewrite { * Those not generated by the class, see add_rewrite_rule(). * * @since 2.1.0 - * @var array + * @var string[] */ public $extra_rules = array(); @@ -205,7 +205,7 @@ class WP_Rewrite { * Those not generated by the class, see add_rewrite_rule(). * * @since 2.3.0 - * @var array + * @var string[] */ public $extra_rules_top = array(); @@ -216,7 +216,7 @@ class WP_Rewrite { * and are added by add_external_rule(). * * @since 2.1.0 - * @var array + * @var string[] */ public $non_wp_rules = array(); @@ -224,7 +224,7 @@ class WP_Rewrite { * Extra permalink structures, e.g. categories, added by add_permastruct(). * * @since 2.1.0 - * @var array + * @var array[] */ public $extra_permastructs = array(); @@ -232,7 +232,7 @@ class WP_Rewrite { * Endpoints (like /trackback/) added by add_rewrite_endpoint(). * * @since 2.1.0 - * @var array + * @var array[] */ public $endpoints; diff --git a/wp-includes/version.php b/wp-includes/version.php index ac1c76c24e..0e9bad56d6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-beta1-54317'; +$wp_version = '6.1-beta1-54318'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.