mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
The `$orderby` parameter of `get_terms()` now accepts the following values, related to term meta: * 'meta_value' * 'meta_value_num' * the value of the `$meta_key` parameter * any key from the `$meta_query` array This brings order-by-meta support for terms in line with post, comment, and user queries. As a byproduct of these improvements, `$meta_key` and `$meta_value` parameters have been introduced to `get_terms()`. They interact with `$meta_query` in the same way as in `WP_Query` and other query classes. Props jadpm, eherman24. Fixes #34996. git-svn-id: https://develop.svn.wordpress.org/trunk@36485 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| src | ||
| tests | ||
| tools/i18n | ||
| .editorconfig | ||
| .gitignore | ||
| .jshintrc | ||
| .travis.yml | ||
| Gruntfile.js | ||
| package.json | ||
| phpunit.xml.dist | ||
| wp-cli.yml | ||
| wp-config-sample.php | ||
| wp-tests-config-sample.php | ||