Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#50610 closed defect (bug) (fixed)

The return value DocBlock for have_comments() need to be more descriptive

Reported by: stevenlinx's profile stevenlinx Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.5 Priority: normal
Severity: minor Version:
Component: Query Keywords: has-patch
Focuses: docs Cc:

Description

Return value:
"true if the current query has comments available, false otherwise."

DevHub:
https://developer.wordpress.org/reference/functions/have_comments/

Attachments (1)

50610.diff (426 bytes) - added by stevenlinx 6 years ago.

Download all attachments as: .zip

Change History (5)

@stevenlinx
6 years ago

#1 @stevenlinx
6 years ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
6 years ago

  • Milestone changed from Awaiting Review to 5.5

#3 @SergeyBiryukov
6 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 48406:

Docs: Improve documentation for have_posts(), have_comments(), and their WP_Query counterparts.

Props stevenlinx.
Fixes #50610.

#4 @SergeyBiryukov
6 years ago

In 48407:

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

Follow-up to [48406]

Props stevenlinx.
See #50610.

Note: See TracTickets for help on using tickets.