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 Owned by: SergeyBiryukov
Priority: normal Milestone: 5.5
Component: Query Version:
Severity: minor Keywords: has-patch
Cc: Focuses: docs

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 Awaiting Review → 5.5

#3 @SergeyBiryukov
6 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → 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.