From 1a2bdd7491b023c5262c28d3017080e30711793f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Wed, 4 Nov 2020 17:03:09 +0000 Subject: [PATCH] Improve documentation for `is_archive()`. Props stevenlinx. Fixes #50545. Built from https://develop.svn.wordpress.org/trunk@49504 git-svn-id: http://core.svn.wordpress.org/trunk@49259 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/query.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index e70a0e9dfc..7a3a737239 100644 --- a/wp-includes/query.php +++ b/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/ diff --git a/wp-includes/version.php b/wp-includes/version.php index 2c5cbc7fc9..c79aaddfcc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-beta3-49496'; +$wp_version = '5.6-beta3-49504'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.