[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 12:56:06 UTC 2020


#51309: @global $wpdb is used but not define in documentation of this function
wp_delete_attachment_files()
--------------------------+-----------------------------
 Reporter:  jontyravi     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  5.5
 Severity:  normal        |   Keywords:  has-patch
  Focuses:  docs          |
--------------------------+-----------------------------
 global $wpdb is used wp_delete_attachment_files() in this function. But it
 is not mentioned in the documentation of the function.

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


More information about the wp-trac mailing list