Make WordPress Core

Changeset 54318


Ignore:
Timestamp:
09/26/2022 10:08:29 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Increase the specificity of various property documentation.

See #55646

Location:
trunk/src/wp-includes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-locale-switcher.php

    r54133 r54318  
    3535         *
    3636         * @since 4.7.0
    37          * @var array An array of language codes (file names without the .mo extension).
     37         * @var string[] An array of language codes (file names without the .mo extension).
    3838         */
    3939        private $available_languages = array();
  • trunk/src/wp-includes/class-wp-object-cache.php

    r54133 r54318  
    5353         *
    5454         * @since 3.0.0
    55          * @var array
     55         * @var string[]
    5656         */
    5757        protected $global_groups = array();
  • trunk/src/wp-includes/class-wp-post-type.php

    r54133 r54318  
    223223         *
    224224         * @since 4.6.0
    225          * @var array $taxonomies
     225         * @var string[] $taxonomies
    226226         */
    227227        public $taxonomies = array();
    … …  
    283283         *
    284284         * @since 5.0.0
    285          * @var array $template
     285         * @var array[] $template
    286286         */
    287287        public $template = array();
  • trunk/src/wp-includes/class-wp-rewrite.php

    r54133 r54318  
    186186         *
    187187         * @since 1.5.0
    188          * @var array
     188         * @var string[]
    189189         */
    190190        public $rules;
    … …  
    196196         *
    197197         * @since 2.1.0
    198          * @var array
     198         * @var string[]
    199199         */
    200200        public $extra_rules = array();
    … …  
    206206         *
    207207         * @since 2.3.0
    208          * @var array
     208         * @var string[]
    209209         */
    210210        public $extra_rules_top = array();
    … …  
    217217         *
    218218         * @since 2.1.0
    219          * @var array
     219         * @var string[]
    220220         */
    221221        public $non_wp_rules = array();
    … …  
    225225         *
    226226         * @since 2.1.0
    227          * @var array
     227         * @var array[]
    228228         */
    229229        public $extra_permastructs = array();
    … …  
    233233         *
    234234         * @since 2.1.0
    235          * @var array
     235         * @var array[]
    236236         */
    237237        public $endpoints;
Note: See TracChangeset for help on using the changeset viewer.