[wp-trac] [WordPress Trac] #48057: Misleading info about 'search_columns' param in WP_User_Query class

WordPress Trac noreply at wordpress.org
Tue Sep 17 13:46:04 UTC 2019


#48057: Misleading info about 'search_columns' param in WP_User_Query class
--------------------------+-----------------------------
 Reporter:  meloniq       |      Owner:  (none)
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Text Changes  |    Version:  trunk
 Severity:  minor         |   Keywords:  has-patch
  Focuses:  docs          |
--------------------------+-----------------------------
 Misleading info about `search_columns` param in `WP_User_Query` class.

 Currently it says: `'ID', 'login', 'nicename', 'email', 'url'`

 where in fact it accepts: `'ID', 'user_login', 'user_email', 'user_url',
 'user_nicename', 'display_name'`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48057>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list