- Timestamp:
- 08/21/2020 10:30:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r48782 r48840 264 264 unset( $count_args['number'], $count_args['offset'] ); 265 265 266 $total_terms = wp_count_terms( $ this->taxonomy, $count_args );266 $total_terms = wp_count_terms( $count_args ); 267 267 268 268 // wp_count_terms() can return a falsey value when the term has no children.
Note: See TracChangeset
for help on using the changeset viewer.