mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Docs: Correct accepted values for search_columns
parameter in WP_User_Query
.
Props meloniq. Fixes #48057. Built from https://develop.svn.wordpress.org/trunk@46156 git-svn-id: http://core.svn.wordpress.org/trunk@45968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5329411f6d
commit
222b400a7d
@ -159,8 +159,9 @@ class WP_User_Query {
|
||||
* @type string $search Search keyword. Searches for possible string matches on columns.
|
||||
* When `$search_columns` is left empty, it tries to determine which
|
||||
* column to search in based on search string. Default empty.
|
||||
* @type array $search_columns Array of column names to be searched. Accepts 'ID', 'login',
|
||||
* 'nicename', 'email', 'url'. Default empty array.
|
||||
* @type array $search_columns Array of column names to be searched. Accepts 'ID', 'user_login',
|
||||
* 'user_email', 'user_url', 'user_nicename', 'display_name'.
|
||||
* Default empty array.
|
||||
* @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 and orders ('ASC' or 'DESC') as values. Accepted values are
|
||||
@ -537,8 +538,8 @@ class WP_User_Query {
|
||||
/**
|
||||
* Filters the columns to search in a WP_User_Query search.
|
||||
*
|
||||
* The default columns depend on the search term, and include 'user_email',
|
||||
* 'user_login', 'ID', 'user_url', 'display_name', and 'user_nicename'.
|
||||
* The default columns depend on the search term, and include 'ID', 'user_login',
|
||||
* 'user_email', 'user_url', 'user_nicename', and 'display_name'.
|
||||
*
|
||||
* @since 3.6.0
|
||||
*
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-46155';
|
||||
$wp_version = '5.3-alpha-46156';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user