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.

Built from https://develop.svn.wordpress.org/trunk@37688


git-svn-id: http://core.svn.wordpress.org/trunk@37654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-06-12 00:02:30 +00:00
parent bdd2199647
commit 50ab6e8df0
2 changed files with 3 additions and 3 deletions

View File

@ -114,8 +114,8 @@ class WP_Meta_Query {
* @access public
*
* @param array $meta_query {
* Array of meta query clauses. When first-order clauses use strings as their array keys, they may be
* referenced in the 'orderby' parameter of the parent query.
* Array of meta query clauses. When first-order clauses or sub-clauses use strings as
* their array keys, they may be referenced in the 'orderby' parameter of the parent query.
*
* @type string $relation Optional. The MySQL keyword used to join
* the clauses of the query. Accepts 'AND', or 'OR'. Default 'AND'.

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-alpha-37687';
$wp_version = '4.6-alpha-37688';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.