wordpress-develop/src/wp-includes/rest-api
Felix Arntz 0228dd6a5d Taxonomy: Allow for wp_count_terms( $args ) signature, making passing a taxonomy optional.
This brings `wp_count_terms()` in line with other taxonomy functions such as `get_terms()` which technically no longer require a taxonomy. Similar to the previously modified functions, no deprecation warning is triggered when using the legacy signature.

Fixes #36399.


git-svn-id: https://develop.svn.wordpress.org/trunk@48840 602fd350-edb4-49c9-b593-d223f7449a82
2020-08-21 22:30:06 +00:00
..
endpoints Taxonomy: Allow for wp_count_terms( $args ) signature, making passing a taxonomy optional. 2020-08-21 22:30:06 +00:00
fields Docs: Synchronize and correct documentation for various metadata functions and filters. 2020-07-09 11:24:43 +00:00
search REST API: Use new rest_get_route_for_post() in the post search handler. 2020-07-07 15:29:22 +00:00
class-wp-rest-request.php REST API: Fix warning when using set_param() on a JSON request with no body. 2020-07-27 18:44:14 +00:00
class-wp-rest-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-rest-server.php Docs: Further corrections and improvements to various inline docblocks. 2020-07-23 07:37:57 +00:00