WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#31748 closed enhancement (fixed)

get_comments DocBlock update

Reported by: lamosty Owned by: SergeyBiryukov
Milestone: 4.2 Priority: normal
Severity: normal Version: 4.2
Component: Comments Keywords:
Focuses: docs Cc:

Description

Function get_comments() has

@global wpdb $wpdb

in its DocBlock though $wpdb variable is not used in that function.

Attachments (1)

doc_block_fix.31748.diff (618 bytes) - added by lamosty 6 years ago.
Patch fixing DocBlock of get_comments()

Download all attachments as: .zip

Change History (3)

@lamosty
6 years ago

Patch fixing DocBlock of get_comments()

#1 @SergeyBiryukov
6 years ago

  • Component changed from Text Changes to Comments
  • Milestone changed from Awaiting Review to 4.2

Unused since [15723].

#2 @SergeyBiryukov
6 years ago

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

In 31870:

Remove obsolete $wpdb reference from get_comments() docs.

props lamosty.
fixes #31748.

Note: See TracTickets for help on using tickets.