Make WordPress Core


Ignore:
Timestamp:
10/10/2020 07:12:04 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Fix the types for some properties and parameters that use the generic object type.

See #50768

File:
1 edited

Legend:

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

    r49108 r49119  
    6464         *
    6565         * @since 1.5.0
    66          * @var object|array
     66         * @var WP_Term|WP_Post_Type|WP_Post|WP_User|null
    6767         */
    6868        public $queried_object;
    … …  
    34583458         * @since 1.5.0
    34593459         *
    3460          * @return object
     3460         * @return WP_Term|WP_Post_Type|WP_Post|WP_User|null The queried object.
    34613461         */
    34623462        public function get_queried_object() {
Note: See TracChangeset for help on using the changeset viewer.