[wp-meta] [Making WordPress.org] #4347: "Order & Orderby Parameters" section in manually curated part of the code reference for WP_Query doesn't mention ordering by meta_query clauses

Making WordPress.org noreply at wordpress.org
Fri Mar 29 14:05:39 UTC 2019


#4347: "Order & Orderby Parameters" section in manually curated part of the code
reference for WP_Query doesn't mention ordering by meta_query clauses
---------------------------+--------------------
 Reporter:  pbiron         |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:
Component:  Developer Hub  |   Keywords:
---------------------------+--------------------
 [[https://make.wordpress.org/core/2015/03/30/query-improvements-in-wp-4-2
 -orderby-and-meta_query/|WP 4.2 introduced]] the ability to "name" clauses
 in `meta_query` and to use those "names" in `orderby`.

 It would be nice if the "Order & Orderby Parameters" mentioned that
 ability and gave an example of its use.

 The last example in that section (as of 2019-03-29) does include a
 `meta_query` but the `orderby` in that example is `meta_value_num` and not
 a "named" clause in the `meta_query`.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4347>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list