Make WordPress Core

Changeset 38336


Ignore:
Timestamp:
08/23/2016 02:40:09 PM (8 years ago)
Author:
wonderboymusic
Message:

Query: use correct description in the docblock for $number in WP_Comment_Query, WP_Network_Query, and WP_Site_Query.

Props flixos90.
Fixes #37621.

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

Legend:

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

    r38298 r38336  
    190190     *                                                   See WP_Meta_Query. Default empty.
    191191     *     @type int          $number                    Maximum number of comments to retrieve.
    192      *                                                   Default null (no limit).
     192     *                                                   Default empty (no limit).
    193193     *     @type int          $offset                    Number of comments to offset the query. Used to build
    194194     *                                                   LIMIT clause. Default 0.
  • trunk/src/wp-includes/class-wp-network-query.php

    r38275 r38336  
    111111     *     @type string       $fields               Network fields to return. Accepts 'ids' (returns an array of network IDs)
    112112     *                                              or empty (returns an array of complete network objects). Default empty.
    113      *     @type int          $number               Maximum number of networks to retrieve. Default null (no limit).
     113     *     @type int          $number               Maximum number of networks to retrieve. Default empty (no limit).
    114114     *     @type int          $offset               Number of networks to offset the query. Used to build LIMIT clause.
    115115     *                                              Default 0.
  • trunk/src/wp-includes/class-wp-site-query.php

    r38275 r38336  
    121121     *                                           or empty (returns an array of complete site objects). Default empty.
    122122     *     @type int          $ID                A site ID to only return that site. Default empty.
    123      *     @type int          $number            Maximum number of sites to retrieve. Default null (no limit).
     123     *     @type int          $number            Maximum number of sites to retrieve. Default 100.
    124124     *     @type int          $offset            Number of sites to offset the query. Used to build LIMIT clause.
    125125     *                                           Default 0.
Note: See TracChangeset for help on using the changeset viewer.