Recent commits have added the ability to order query results by specific clauses of the 'meta_query' parameter (comments [31467], posts [31312] and [31340]). The current changeset ports the same functionality to `WP_User_Query`. Also introduced is the ability to pass the value of `$meta_key` to 'orderby'. The internals of `WP_User_Query::prepare_users()` had to be reordered somewhat to support these changes, primarily to ensure that the `meta_query` object generates its SQL clauses before the 'orderby' parameter is parsed. See #31265. Built from https://develop.svn.wordpress.org/trunk@31669 git-svn-id: http://core.svn.wordpress.org/trunk@31650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
78 KiB
78 KiB