mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Query: use correct description in the docblock for $number
in WP_Comment_Query
, WP_Network_Query
, and WP_Site_Query
.
Props flixos90. Fixes #37621. Built from https://develop.svn.wordpress.org/trunk@38336 git-svn-id: http://core.svn.wordpress.org/trunk@38277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d6145020ae
commit
af1fb6b8d2
@ -189,7 +189,7 @@ class WP_Comment_Query {
|
||||
* @type array $meta_query Meta query clauses to limit retrieved comments by.
|
||||
* See WP_Meta_Query. Default empty.
|
||||
* @type int $number Maximum number of comments to retrieve.
|
||||
* Default null (no limit).
|
||||
* Default empty (no limit).
|
||||
* @type int $offset Number of comments to offset the query. Used to build
|
||||
* LIMIT clause. Default 0.
|
||||
* @type bool $no_found_rows Whether to disable the `SQL_CALC_FOUND_ROWS` query.
|
||||
|
@ -110,7 +110,7 @@ class WP_Network_Query {
|
||||
* Default false.
|
||||
* @type string $fields Network fields to return. Accepts 'ids' (returns an array of network IDs)
|
||||
* or empty (returns an array of complete network objects). Default empty.
|
||||
* @type int $number Maximum number of networks to retrieve. Default null (no limit).
|
||||
* @type int $number Maximum number of networks to retrieve. Default empty (no limit).
|
||||
* @type int $offset Number of networks to offset the query. Used to build LIMIT clause.
|
||||
* Default 0.
|
||||
* @type bool $no_found_rows Whether to disable the `SQL_CALC_FOUND_ROWS` query. Default true.
|
||||
|
@ -120,7 +120,7 @@ class WP_Site_Query {
|
||||
* @type string $fields Site fields to return. Accepts 'ids' (returns an array of site IDs)
|
||||
* or empty (returns an array of complete site objects). Default empty.
|
||||
* @type int $ID A site ID to only return that site. Default empty.
|
||||
* @type int $number Maximum number of sites to retrieve. Default null (no limit).
|
||||
* @type int $number Maximum number of sites to retrieve. Default 100.
|
||||
* @type int $offset Number of sites to offset the query. Used to build LIMIT clause.
|
||||
* Default 0.
|
||||
* @type bool $no_found_rows Whether to disable the `SQL_CALC_FOUND_ROWS` query. Default true.
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38335';
|
||||
$wp_version = '4.7-alpha-38336';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user