Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#51309 closed defect (bug) (fixed)

@global $wpdb is used but not define in documentation of this function wp_delete_attachment_files()

Reported by: jontyravi Owned by: SergeyBiryukov
Priority: normal Milestone: 5.6
Component: Media Version: 5.5
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

global $wpdb is used wp_delete_attachment_files() in this function. But it is not mentioned in the documentation of the function.

Attachments (1)

51309.patch (505 bytes ) - added by jontyravi 6 years ago.

Download all attachments as: .zip

Change History (4)

@jontyravi
6 years ago

#1 @jontyravi
6 years ago

Keywords has-patch added

#2 @SergeyBiryukov
6 years ago

  • Component CommentsMedia
  • Milestone Awaiting Review5.6
  • Owner set to SergeyBiryukov
  • Status newreviewing

#3 @SergeyBiryukov
6 years ago

  • Resolutionfixed
  • Status reviewingclosed

In 48976:

Docs: Document the usage of $wpdb global in wp_delete_attachment_files().

Props jontyravi.
Fixes #51309.

Note: See TracTickets for help on using tickets.