Docs: Spell "falsey" in a consistent way.

See #49572.

git-svn-id: https://develop.svn.wordpress.org/trunk@48275 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-07-02 11:28:13 +00:00
parent 5714ef31c0
commit c5e620f6ef
7 changed files with 9 additions and 9 deletions
@@ -265,7 +265,7 @@ class WP_REST_Terms_Controller extends WP_REST_Controller {
$total_terms = wp_count_terms( $this->taxonomy, $count_args );
// wp_count_terms() can return a falsy value when the term has no children.
// wp_count_terms() can return a falsey value when the term has no children.
if ( ! $total_terms ) {
$total_terms = 0;
}