diff --git a/src/wp-includes/query.php b/src/wp-includes/query.php index e304bdefaf..2af6fc68e7 100644 --- a/src/wp-includes/query.php +++ b/src/wp-includes/query.php @@ -268,7 +268,7 @@ function is_tag( $tag = '' ) { } /** - * Is the query for an existing taxonomy archive page? + * Is the query for an existing custom taxonomy archive page? * * If the $taxonomy parameter is specified, this function will additionally * check if the query is for that specific $taxonomy. @@ -277,6 +277,8 @@ function is_tag( $tag = '' ) { * this function will additionally check if the query is for one of the terms * specified. * + * Returns false for built-in taxonomies (category and tag archives). + * * @since 2.5.0 * * @global WP_Query $wp_query Global WP_Query instance. @@ -4331,7 +4333,7 @@ class WP_Query { } /** - * Is the query for an existing taxonomy archive page? + * Is the query for an existing custom taxonomy archive page? * * If the $taxonomy parameter is specified, this function will additionally * check if the query is for that specific $taxonomy. @@ -4340,6 +4342,8 @@ class WP_Query { * this function will additionally check if the query is for one of the terms * specified. * + * Returns false for built-in taxonomies (category and tag archives). + * * @since 3.1.0 * * @global array $wp_taxonomies