[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
Sat Sep 3 12:54:21 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       |   Keywords:
--------------------------+-----------------------------
 The codex
 entry[http://codex.wordpress.org/Function_Reference/get_users#Parameters]
 said that the fields argument would accept meta_keys.

 However in 3.2.1 and 3.3 using meta_keys gives a sql error.
 Using normal user table fields is fine.

 I have corrected the codex for now, but in case this was really intended
 functionality, thought I better log it too.

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


More information about the wp-trac mailing list