Make WordPress Core

Changeset 48407


Ignore:
Timestamp:
07/08/2020 11:13:22 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Further improve documentation for have_posts() and have_comments().

Follow-up to [48406]

Props stevenlinx.
See #50610.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/query.php

    r48406 r48407  
    916916
    917917/**
    918  * Whether current WordPress query has results to loop over.
     918 * Determines whether current WordPress query has posts to loop over.
    919919 *
    920920 * @since 1.5.0
     
    976976
    977977/**
    978  * Whether there are comments to loop over.
     978 * Determines whether current WordPress query has comments to loop over.
    979979 *
    980980 * @since 2.2.0
Note: See TracChangeset for help on using the changeset viewer.