[wp-trac] [WordPress Trac] #32659: Improve docs for orderby meta clause in meta_query

WordPress Trac noreply at wordpress.org
Sun Jun 12 00:01:57 UTC 2016


#32659: Improve docs for orderby meta clause in meta_query
-------------------------+---------------------------
 Reporter:  dariopad     |       Owner:  DrewAPicture
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.6
Component:  Query        |     Version:  4.2
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |     Focuses:  docs
-------------------------+---------------------------
Changes (by DrewAPicture):

 * owner:   => DrewAPicture
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37688"]:
 {{{
 #!CommitTicketReference repository="" revision="37688"
 Docs: Improve first-order clause documentation for the `$meta_query`
 parameter in the constructor for `WP_Meta_Query`.

 First-order meta query clauses are defined as clauses that have either a
 'key' or 'value' array key. When using named first-order clauses in meta
 queries to order results in the parent query, `WP_Meta_Query` can
 additionally accept first-order clauses at the sub-clause level, which was
 not previous documented.

 Fixes #32659.
 }}}

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


More information about the wp-trac mailing list