Capitalize 'ID' correctly to avoid random failures of Tests_Tax_Query::test_term_taxonomy_id_field_no_taxonomy().
see #25284. git-svn-id: https://develop.svn.wordpress.org/trunk@28647 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e8e39d212b
commit
4ecfd017b8
|
@ -158,7 +158,7 @@ class Tests_Tax_Query extends WP_UnitTestCase {
|
||||||
|
|
||||||
$results1 = $this->q->query( array(
|
$results1 = $this->q->query( array(
|
||||||
'fields' => 'ids',
|
'fields' => 'ids',
|
||||||
'orderby' => 'id',
|
'orderby' => 'ID',
|
||||||
'order' => 'ASC',
|
'order' => 'ASC',
|
||||||
'tax_query' => array(
|
'tax_query' => array(
|
||||||
'relation' => 'OR',
|
'relation' => 'OR',
|
||||||
|
@ -181,7 +181,7 @@ class Tests_Tax_Query extends WP_UnitTestCase {
|
||||||
|
|
||||||
$results2 = $this->q->query( array(
|
$results2 = $this->q->query( array(
|
||||||
'fields' => 'ids',
|
'fields' => 'ids',
|
||||||
'orderby' => 'id',
|
'orderby' => 'ID',
|
||||||
'order' => 'ASC',
|
'order' => 'ASC',
|
||||||
'tax_query' => array(
|
'tax_query' => array(
|
||||||
'relation' => 'AND',
|
'relation' => 'AND',
|
||||||
|
|
Loading…
Reference in New Issue