WordPress.org

Make WordPress Core

Changeset 48976


Ignore:
Timestamp:
09/14/2020 01:41:33 PM (4 days ago)
Author:
SergeyBiryukov
Message:

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

Props jontyravi.
Fixes #51309.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r48941 r48976  
    58565856 * @since 4.9.7
    58575857 *
     5858 * @global wpdb $wpdb WordPress database abstraction object.
     5859 *
    58585860 * @param int    $post_id      Attachment ID.
    58595861 * @param array  $meta         The attachment's meta data.
Note: See TracChangeset for help on using the changeset viewer.