wordpress-develop/tests/phpunit/tests/post
Boone Gorges 91733ae919 Make orderby=meta_value compatible with meta_query when relation=OR.
Passing orderby=meta_value and meta_key=foo to WP_Query should require that
each matched post have a meta value with the key 'foo'. To make this
requirement compatible with meta_query params that have the relation OR, we
nest the meta_query param, and join it using AND to a meta_query clause
generated from the meta_key/meta_compare/meta_type query vars.

Fixes #25538.

git-svn-id: https://develop.svn.wordpress.org/trunk@29964 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-19 18:53:55 +00:00
..
attachments.php Make sure the $parent argument of wp_insert_attachment() still works as expected after [28579]. 2014-09-15 14:23:31 +00:00
filtering.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
formats.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
gallery.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getPages.php Eliminate use of extract() in wp_dropdown_pages(). 2014-05-15 01:11:21 +00:00
listPages.php Add unit tests for wp_list_pages(). 2014-05-15 01:17:37 +00:00
meta.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
nav-menu.php Change the default orderby value in wp_get_nav_menus() to 'name'. 2014-09-29 15:44:26 +00:00
objects.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
output.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
query.php Make orderby=meta_value compatible with meta_query when relation=OR. 2014-10-19 18:53:55 +00:00
revisions.php This test in post/revisions.php is too misleading and doesn't work as expected since multiple queries can occur before the one that is intended for testing. 2014-07-02 19:56:50 +00:00
slashes.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
template.php Eliminate use of extract() in wp_dropdown_pages(). 2014-05-15 01:11:21 +00:00
types.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00