Opened 16 years ago
Closed 16 years ago
#15816 closed defect (bug) (fixed)
Allow user_* fields in WP_User_Query orderby arg
| Reported by: | duck_ | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | General | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Currently you can use 'email', 'url', 'registered' (and a couple of others) as the orderby arg in WP_User_Query, but not the actual DB field names 'user_email', 'user_url', 'user_registered'.
Related: #15791
Attachments (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Not sure if (user_)nicename also should be added to WP_User_Query as well (has an INDEX IIRC).