Make WordPress Core


Ignore:
Timestamp:
12/07/2021 12:18:50 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Various inline documentation corrections and improvements.

See #53399

File:
1 edited

Legend:

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

    r52226 r52332  
    148148         *
    149149         *     @type int             $blog_id             The site ID. Default is the current site.
    150          *     @type string|array    $role                An array or a comma-separated list of role names that users must match
     150         *     @type string|string[] $role                An array or a comma-separated list of role names that users must match
    151151         *                                                to be included in results. Note that this is an inclusive list: users
    152152         *                                                must match *each* role. Default empty.
    … …  
    222222         *                                                is not needed, setting this to false can improve performance.
    223223         *                                                Default true.
    224          *     @type string|array    $fields              Which fields to return. Single or all fields (string), or array
     224         *     @type string|string[] $fields              Which fields to return. Single or all fields (string), or array
    225225         *                                                of fields. Accepts:
    226226         *                                                - 'ID'
    … …  
    236236         *     @type string          $who                 Type of users to query. Accepts 'authors'.
    237237         *                                                Default empty (all users).
    238          *     @type bool|array      $has_published_posts Pass an array of post types to filter results to users who have
     238         *     @type bool|string[]   $has_published_posts Pass an array of post types to filter results to users who have
    239239         *                                                published posts in those post types. `true` is an alias for all
    240240         *                                                public post types.
Note: See TracChangeset for help on using the changeset viewer.