[wp-trac] [WordPress Trac] #51309: @global $wpdb is used but not define in documentation of this function wp_delete_attachment_files()

WordPress Trac noreply at wordpress.org
Mon Sep 14 13:41:49 UTC 2020


#51309: @global $wpdb is used but not define in documentation of this function
wp_delete_attachment_files()
--------------------------+-----------------------------
 Reporter:  jontyravi     |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.6
Component:  Media         |     Version:  5.5
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48976" 48976]:
 {{{
 #!CommitTicketReference repository="" revision="48976"
 Docs: Document the usage of `$wpdb` global in
 `wp_delete_attachment_files()`.

 Props jontyravi.
 Fixes #51309.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51309#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list