From 7a16c4d5809507bbfa9eb0f95178092492b04727 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Wed, 4 Nov 2020 17:01:28 +0000 Subject: [PATCH] Improve documentation for `is_archive()`. Props stevenlinx. Fixes #50545. git-svn-id: https://develop.svn.wordpress.org/trunk@49504 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/query.php b/src/wp-includes/query.php index e70a0e9dfc..7a3a737239 100644 --- a/src/wp-includes/query.php +++ b/src/wp-includes/query.php @@ -138,7 +138,7 @@ function wp_reset_postdata() { /** * Determines whether the query is for an existing archive page. * - * Month, Year, Category, Author, Post Type archive... + * Archive pages include {@link https://developer.wordpress.org/reference/functions/is_category/ category}, {@link https://developer.wordpress.org/reference/functions/is_tag/ tag}, {@link https://developer.wordpress.org/reference/functions/is_author/ author}, {@link https://developer.wordpress.org/reference/functions/is_date/ date}, {@link https://developer.wordpress.org/reference/functions/is_post_type_archive/ custom post type}, and {@link https://developer.wordpress.org/reference/functions/is_tax/ custom taxonomy} based archives. * * For more information on this and similar theme functions, check out * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/