Skip to content

Commit

Permalink
Docs: Further improve documentation for have_posts() and `have_comm…
Browse files Browse the repository at this point in the history
…ents()`.

Follow-up to [48406]

Props stevenlinx.
See #50610.

git-svn-id: https://develop.svn.wordpress.org/trunk@48407 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Jul 8, 2020
1 parent 3dc074e commit de37c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-includes/query.php
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ function is_main_query() {
*/

/**
* Whether current WordPress query has results to loop over.
* Determines whether current WordPress query has posts to loop over.
*
* @since 1.5.0
*
Expand Down Expand Up @@ -975,7 +975,7 @@ function the_post() {
*/

/**
* Whether there are comments to loop over.
* Determines whether current WordPress query has comments to loop over.
*
* @since 2.2.0
*
Expand Down

0 comments on commit de37c09

Please sign in to comment.