[wp-trac] [WordPress Trac] #27026: wp_user_query order by meta_value not working when using role insider $args
WordPress Trac
noreply at wordpress.org
Wed May 4 18:48:13 UTC 2016
#27026: wp_user_query order by meta_value not working when using role insider $args
--------------------------+------------------------
Reporter: ecommy | Owner: kovshenin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: Users | Version: 3.8.1
Severity: normal | Resolution: fixed
Keywords: | Focuses:
--------------------------+------------------------
Comment (by boonebgorges):
In [changeset:"37359"]:
{{{
#!CommitTicketReference repository="" revision="37359"
Tests: Correct 'meta_query' syntax in test related to `WP_User_Query`
'who' param.
The test, introduced in [32207], used the incorrect syntax for
'meta_query' -
one fewer level of array-nesting than what `WP_Meta_Query` requires. This
slip uncovered a bug introduced into `WP_User_Query` in [30094], whereby
an incorrectly formatted 'meta_query' parameter would be properly parsed
by
`WP_User_Query` when passed alongside `who=authors`.
We need to fix the inconsistent syntax in order to resolve #36724.
See #36724, #32019, #23849, #27026.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27026#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list