Go to file
Boone Gorges 2d737796d2 Improve support for ordering WP_Query results by postmeta.
`WP_Meta_Query` clauses now support a 'name' parameter. When building a
`WP_Query` object, the value of 'orderby' can reference this 'name', so that
it's possible to order by any clause in a meta_query, not just the first one
(as when using 'orderby=meta_value'). This improvement also makes it possible
to order by multiple meta query clauses (or by any other eligible field plus
a meta query clause), using the array syntax for 'orderby' introduced in [29027].

Props Funkatronic, boonebgorges.
Fixes #31045.

git-svn-id: https://develop.svn.wordpress.org/trunk@31312 602fd350-edb4-49c9-b593-d223f7449a82
2015-01-31 15:47:51 +00:00
src Improve support for ordering WP_Query results by postmeta. 2015-01-31 15:47:51 +00:00
tests Improve support for ordering WP_Query results by postmeta. 2015-01-31 15:47:51 +00:00
tools/i18n
.editorconfig .jshintrc is a json file and .editorconfig should treat it like a json file 2014-10-08 19:26:50 +00:00
.gitignore Ignore any local WP Cli config files. 2014-10-28 17:01:22 +00:00
.jshintrc
.travis.yml Update npm on Travis CI as a part of build 2014-12-22 23:46:46 +00:00
Gruntfile.js Exclude external-http tests when running phpunit. 2014-11-10 14:48:28 +00:00
package.json Update version numbers in trunk. 2014-12-17 17:37:16 +00:00
phpunit.xml.dist Exclude external-http tests when running phpunit. 2014-11-10 14:48:28 +00:00
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php