Introduce WP_Term_Query and use in get_terms().

`WP_Term_Query` is modeled on existing query classes, such as those used
for comments and users. It provides a more consistent structure for generating
term queries, and should make it easier to add new functionality in the future.

Props flixos90, boonebgorges.
See #35381.
Built from https://develop.svn.wordpress.org/trunk@37572


git-svn-id: http://core.svn.wordpress.org/trunk@37540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges
2016-05-26 04:33:30 +00:00
parent b9ed1cb665
commit df0c758e22
4 changed files with 906 additions and 535 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-alpha-37571';
$wp_version = '4.6-alpha-37572';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.