Changeset 30617 for trunk/src/wp-includes/meta.php
- Timestamp:
- 11/28/2014 12:01:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/meta.php
r30163 r30617 979 979 980 980 /** 981 * Ensure the `meta_query`argument passed to the class constructor is well-formed.981 * Ensure the 'meta_query' argument passed to the class constructor is well-formed. 982 982 * 983 983 * Eliminates empty items and ensures that a 'relation' is set. … … 1232 1232 * @access protected 1233 1233 * 1234 * @param array $query Query to parse .1234 * @param array $query Query to parse, passed by reference. 1235 1235 * @param int $depth Optional. Number of tree levels deep we currently are. 1236 * Used to calculate indentation.1236 * Used to calculate indentation. Default 0. 1237 1237 * @return array { 1238 1238 * Array containing JOIN and WHERE SQL clauses to append to a single query array. … … 1316 1316 * @access public 1317 1317 * 1318 * @param array $clause Query clause .1318 * @param array $clause Query clause, passed by reference. 1319 1319 * @param array $parent_query Parent query array. 1320 1320 * @return array { … … 1447 1447 1448 1448 /** 1449 * Identify an existing table alias that is compatible with the current query clause. 1449 * Identify an existing table alias that is compatible with the current 1450 * query clause. 1450 1451 * 1451 1452 * We avoid unnecessary table joins by allowing each clause to look for 1452 1453 * an existing table alias that is compatible with the query that it 1453 * needs to perform. An existing alias is compatible if (a) it is a 1454 * sibling of $clause (ie, it's under the scope of the same relation), 1455 * and (b) the combination of operator and relation between the clauses 1456 * allows for a shared table join. In the case of WP_Meta_Query, this 1457 * only applies to IN clauses that are connected by the relation OR. 1454 * needs to perform. 1455 * 1456 * An existing alias is compatible if (a) it is a sibling of `$clause` 1457 * (ie, it's under the scope of the same relation), and (b) the combination 1458 * of operator and relation between the clauses allows for a shared table join. 1459 * In the case of {@see WP_Meta_Query}, this only applies to 'IN' clauses that 1460 * are connected by the relation 'OR'. 1458 1461 * 1459 1462 * @since 4.1.0
Note: See TracChangeset
for help on using the changeset viewer.