[wp-trac] [WordPress Trac] #18581: get_user codex said thet meta_keys could be used in 'fields' - sql error

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 4 14:57:05 UTC 2011


#18581: get_user codex said thet meta_keys could be used in 'fields' - sql error
--------------------------+------------------------------
 Reporter:  anmari        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  3.2.1
 Severity:  trivial       |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:1 dd32]:
 > The functions it ''replaced'' might have however accepted meta keys..

 `get_users()` replaced `get_users_of_blog()`, however that function didn't
 accept meta keys either.

 So should `WP_User_Query` be updated to allow meta keys in the `fields`
 parameter, or, now that the documentation is corrected, this ticket can be
 closed?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18581#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list