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
This commit is contained in:
Helen Hou-Sandí 2020-11-04 17:03:09 +00:00
parent 87cdca8cd6
commit 1a2bdd7491
2 changed files with 2 additions and 2 deletions

View File

@ -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/

View File

@ -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.