Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#41412 closed defect (bug) (fixed)

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

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


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 7 years ago.

Download all attachments as: .zip

Change History (4)

7 years ago

#1 @jontyravi
7 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
7 years ago

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

#3 @SergeyBiryukov
7 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.