WordPress.org

Make WordPress Core

Ticket #50545: 50545.diff

File 50545.diff, 1.0 KB (added by stevenlinx, 13 months ago)
  • src/wp-includes/query.php

    diff --git a/src/wp-includes/query.php b/src/wp-includes/query.php
    index 69055b3930..1cb6a60228 100644
    a b function wp_reset_postdata() { 
    138138/**
    139139 * Determines whether the query is for an existing archive page.
    140140 *
    141  * Month, Year, Category, Author, Post Type archive...
     141 * An Archive is a {@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} or {@link https://developer.wordpress.org/reference/functions/is_tax/ Custom Taxonomy} based pages.
    142142 *
    143143 * For more information on this and similar theme functions, check out
    144144 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/