[wp-trac] [WordPress Trac] #31265: Metadata 'orderby' parity across query classes

WordPress Trac noreply at wordpress.org
Sat Mar 7 16:34:43 UTC 2015


#31265: Metadata 'orderby' parity across query classes
----------------------------+-----------------------------
 Reporter:  boonebgorges    |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Query           |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+-----------------------------

Comment (by boonebgorges):

 In [changeset:"31665"]:
 {{{
 #!CommitTicketReference repository="" revision="31665"
 In `WP_User_Query`, `$meta_query` should be a class property rather than a
 local variable.

 This provides better parity with other query classes, and makes it
 possible to
 write more direct unit tests.

 See #31265.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31265#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list