Make WordPress Core

Changeset 49119


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

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-plugin-upgrader-skin.php

    r48661 r49119  
    2323         * @since 2.8.0
    2424         *
    25          * @var object
     25         * @var string
    2626         */
    2727        public $plugin = '';
  • trunk/src/wp-admin/includes/class-theme-upgrader-skin.php

    r48661 r49119  
    2323         * @since 2.8.0
    2424         *
    25          * @var object
     25         * @var string
    2626         */
    2727        public $theme = '';
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r48866 r49119  
    4444         *
    4545         * @since 3.1.0
    46          * @var object
     46         * @var WP_Screen
    4747         */
    4848        protected $screen;
    … …  
    10931093                 *
    10941094                 * The dynamic portion of the hook name, `$this->screen->id`, refers
    1095                  * to the ID of the current screen, usually a string.
     1095                 * to the ID of the current screen.
    10961096                 *
    10971097                 * @since 3.1.0
  • trunk/src/wp-admin/includes/class-wp-upgrader-skin.php

    r48661 r49119  
    2121         * @since 2.8.0
    2222         *
    23          * @var object
     23         * @var WP_Upgrader
    2424         */
    2525        public $upgrader;
  • 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.