Correct documentation for 'fields' param of `WP_User_Query`.

[29843] introduced this documentation, and incorrectly stated that short
column names (eg 'login' instead of 'user_login') could be used.

Props birgire.
Fixes #34701.
Built from https://develop.svn.wordpress.org/trunk@35645


git-svn-id: http://core.svn.wordpress.org/trunk@35609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges 2015-11-16 19:04:55 +00:00
parent 42ff945649
commit 767518ffaa
2 changed files with 5 additions and 4 deletions

View File

@ -186,9 +186,10 @@ class WP_User_Query {
* is not needed, setting this to false can improve performance.
* Default true.
* @type string|array $fields Which fields to return. Single or all fields (string), or array
* of fields. Accepts 'ID', 'display_name', 'login', 'nicename',
* 'email', 'url', 'registered'. Use 'all' for all fields and
* 'all_with_meta' to include meta fields. Default 'all'.
* of fields. Accepts 'ID', 'display_name', 'user_login',
* 'user_nicename', 'user_email', 'user_url', 'user_registered'.
* Use 'all' for all fields and '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

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-beta4-35644';
$wp_version = '4.4-beta4-35645';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.