WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#41412 closed defect (bug) (fixed)

@global $wpdb is not present in function fill_descendants()

Reported by: jontyravi Owned by: SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: Comments Keywords: has-patch
Focuses: docs Cc:

Description

global $wpdb is used in fill_descendants() function but it is not mentioned in the documentation of the function.

Attachments (1)

41412.patch (530 bytes) - added by jontyravi 3 years ago.

Download all attachments as: .zip

Change History (4)

@jontyravi
3 years ago

#1 @jontyravi
3 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
3 years ago

  • Component changed from General to Comments
  • Focuses accessibility removed
  • Milestone changed from Awaiting Review to 4.9

#3 @SergeyBiryukov
3 years ago

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

In 41123:

Docs: Add a @global entry for $wpdb in WP_Comment_Query::fill_descendants().

Props jontyravi.
Fixes #41412.

Note: See TracTickets for help on using tickets.