Normalize whitespace in docblock for `WP_User_Query::prepare_query()`.

Built from https://develop.svn.wordpress.org/trunk@32684


git-svn-id: http://core.svn.wordpress.org/trunk@32654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges 2015-06-02 13:35:26 +00:00
parent 6db02371ec
commit 0471408596
2 changed files with 43 additions and 41 deletions

View File

@ -529,46 +529,48 @@ class WP_User_Query {
* @param string|array $query { * @param string|array $query {
* Optional. Array or string of Query parameters. * Optional. Array or string of Query parameters.
* *
* @type int $blog_id The site ID. Default is the global blog id. * @type int $blog_id The site ID. Default is the global blog id.
* @type string $role Role name. Default empty. * @type string $role Role name. Default empty.
* @type string $meta_key User meta key. Default empty. * @type string $meta_key User meta key. Default empty.
* @type string $meta_value User meta value. Default empty. * @type string $meta_value User meta value. Default empty.
* @type string $meta_compare Comparison operator to test the `$meta_value`. Accepts '=', '!=', * @type string $meta_compare Comparison operator to test the `$meta_value`. Accepts '=', '!=',
* '>', '>=', '<', '<=', 'LIKE', 'NOT LIKE', 'IN', 'NOT IN', 'BETWEEN', * '>', '>=', '<', '<=', 'LIKE', 'NOT LIKE', 'IN', 'NOT IN',
* 'NOT BETWEEN', 'EXISTS', 'NOT EXISTS', 'REGEXP', 'NOT REGEXP', * 'BETWEEN', 'NOT BETWEEN', 'EXISTS', 'NOT EXISTS', 'REGEXP',
* or 'RLIKE'. Default '='. * 'NOT REGEXP', or 'RLIKE'. Default '='.
* @type array $include An array of user IDs to include. Default empty array. * @type array $include An array of user IDs to include. Default empty array.
* @type array $exclude An array of user IDs to exclude. Default empty array. * @type array $exclude An array of user IDs to exclude. Default empty array.
* @type string $search Search keyword. Searches for possible string matches on columns. * @type string $search Search keyword. Searches for possible string matches on columns.
* When `$search_columns` is left empty, it tries to determine which * When `$search_columns` is left empty, it tries to determine which
* column to search in based on search string. Default empty. * column to search in based on search string. Default empty.
* @type array $search_columns Array of column names to be searched. Accepts 'ID', 'login', * @type array $search_columns Array of column names to be searched. Accepts 'ID', 'login',
* 'nicename', 'email', 'url'. Default empty array. * 'nicename', 'email', 'url'. Default empty array.
* @type string|array $orderby Field(s) to sort the retrieved users by. May be a single value, * @type string|array $orderby Field(s) to sort the retrieved users by. May be a single value,
* an array of values, or a multi-dimensional array with fields as keys * an array of values, or a multi-dimensional array with fields as
* and orders ('ASC' or 'DESC') as values. Accepted values are'ID', * keys and orders ('ASC' or 'DESC') as values. Accepted values are
* 'display_name' (or 'name'), 'user_login' (or 'login'), * 'ID', 'display_name' (or 'name'), 'user_login' (or 'login'),
* 'user_nicename' (or 'nicename'), 'user_email' (or 'email'), * 'user_nicename' (or 'nicename'), 'user_email' (or 'email'),
* 'user_url' (or 'url'), 'user_registered' (or 'registered'), * 'user_url' (or 'url'), 'user_registered' (or 'registered'),
* 'post_count', 'meta_value', 'meta_value_num', the value of * 'post_count', 'meta_value', 'meta_value_num', the value of
* `$meta_key`, or an array key of `$meta_query`. To use 'meta_value' * `$meta_key`, or an array key of `$meta_query`. To use
* or 'meta_value_num', `$meta_key` must be also be defined. * 'meta_value' or 'meta_value_num', `$meta_key` must be also be
* Default 'user_login'. * defined. Default 'user_login'.
* @type string $order Designates ascending or descending order of users. Order values * @type string $order Designates ascending or descending order of users. Order values
* passed as part of an `$orderby` array take precedence over this * passed as part of an `$orderby` array take precedence over this
* parameter. Accepts 'ASC', 'DESC'. Default 'ASC'. * parameter. Accepts 'ASC', 'DESC'. Default 'ASC'.
* @type int $offset Number of users to offset in retrieved results. Can be used in * @type int $offset Number of users to offset in retrieved results. Can be used in
* conjunction with pagination. Default 0. * conjunction with pagination. Default 0.
* @type int $number Number of users to limit the query for. Can be used in conjunction * @type int $number Number of users to limit the query for. Can be used in
* with pagination. Value -1 (all) is not supported. * conjunction with pagination. Value -1 (all) is not supported.
* Default empty (all users). * Default empty (all users).
* @type bool $count_total Whether to count the total number of users found. If pagination is not * @type bool $count_total Whether to count the total number of users found. If pagination
* needed, setting this to false can improve performance. Default true. * is not needed, setting this to false can improve performance.
* @type string|array $fields Which fields to return. Single or all fields (string), or array * Default true.
* of fields. Accepts 'ID', 'display_name', 'login', 'nicename', 'email', * @type string|array $fields Which fields to return. Single or all fields (string), or array
* 'url', 'registered'. Use 'all' for all fields and 'all_with_meta' to * of fields. Accepts 'ID', 'display_name', 'login', 'nicename',
* include meta fields. Default 'all'. * 'email', 'url', 'registered'. Use 'all' for all fields and
* @type string $who Type of users to query. Accepts 'authors'. Default empty (all users). * 'all_with_meta' to include meta fields. Default 'all'.
* @type string $who Type of users to query. Accepts 'authors'.
* Default empty (all users).
* @type bool|array $has_published_posts Pass an array of post types to filter results to users who have * @type bool|array $has_published_posts Pass an array of post types to filter results to users who have
* published posts in those post types. `true` is an alias for all * published posts in those post types. `true` is an alias for all
* public post types. * public post types.

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-32683'; $wp_version = '4.3-alpha-32684';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.