diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index a4f5f389a..51fbfb304 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -2375,7 +2375,7 @@ function &_get_term_children($term_id, $terms, $taxonomy) { */ function _pad_term_counts(&$terms, $taxonomy) { global $wpdb; -error_log("here $taxonomy"); + // This function only works for hierarchical taxonomies like post categories. if ( !is_taxonomy_hierarchical( $taxonomy ) ) return;