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
This commit is contained in:
John Blackbourn 2022-09-26 22:10:16 +00:00
parent d7893c3cea
commit 2eabdd1490
5 changed files with 11 additions and 11 deletions

View File

@ -34,7 +34,7 @@ class WP_Locale_Switcher {
* Holds all available languages. * Holds all available languages.
* *
* @since 4.7.0 * @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(); private $available_languages = array();

View File

@ -52,7 +52,7 @@ class WP_Object_Cache {
* List of global cache groups. * List of global cache groups.
* *
* @since 3.0.0 * @since 3.0.0
* @var array * @var string[]
*/ */
protected $global_groups = array(); protected $global_groups = array();

View File

@ -222,7 +222,7 @@ final class WP_Post_Type {
* Default empty array. * Default empty array.
* *
* @since 4.6.0 * @since 4.6.0
* @var array $taxonomies * @var string[] $taxonomies
*/ */
public $taxonomies = array(); public $taxonomies = array();
@ -282,7 +282,7 @@ final class WP_Post_Type {
* @link https://developer.wordpress.org/block-editor/developers/block-api/block-templates/ * @link https://developer.wordpress.org/block-editor/developers/block-api/block-templates/
* *
* @since 5.0.0 * @since 5.0.0
* @var array $template * @var array[] $template
*/ */
public $template = array(); public $template = array();

View File

@ -185,7 +185,7 @@ class WP_Rewrite {
* Rewrite rules to match against the request to find the redirect or query. * Rewrite rules to match against the request to find the redirect or query.
* *
* @since 1.5.0 * @since 1.5.0
* @var array * @var string[]
*/ */
public $rules; public $rules;
@ -195,7 +195,7 @@ class WP_Rewrite {
* Those not generated by the class, see add_rewrite_rule(). * Those not generated by the class, see add_rewrite_rule().
* *
* @since 2.1.0 * @since 2.1.0
* @var array * @var string[]
*/ */
public $extra_rules = array(); public $extra_rules = array();
@ -205,7 +205,7 @@ class WP_Rewrite {
* Those not generated by the class, see add_rewrite_rule(). * Those not generated by the class, see add_rewrite_rule().
* *
* @since 2.3.0 * @since 2.3.0
* @var array * @var string[]
*/ */
public $extra_rules_top = array(); public $extra_rules_top = array();
@ -216,7 +216,7 @@ class WP_Rewrite {
* and are added by add_external_rule(). * and are added by add_external_rule().
* *
* @since 2.1.0 * @since 2.1.0
* @var array * @var string[]
*/ */
public $non_wp_rules = array(); public $non_wp_rules = array();
@ -224,7 +224,7 @@ class WP_Rewrite {
* Extra permalink structures, e.g. categories, added by add_permastruct(). * Extra permalink structures, e.g. categories, added by add_permastruct().
* *
* @since 2.1.0 * @since 2.1.0
* @var array * @var array[]
*/ */
public $extra_permastructs = array(); public $extra_permastructs = array();
@ -232,7 +232,7 @@ class WP_Rewrite {
* Endpoints (like /trackback/) added by add_rewrite_endpoint(). * Endpoints (like /trackback/) added by add_rewrite_endpoint().
* *
* @since 2.1.0 * @since 2.1.0
* @var array * @var array[]
*/ */
public $endpoints; public $endpoints;

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.