From 8a3192234db9fe571cd18360513a9ac31117e9d4 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Wed, 30 Nov 2016 23:20:33 +0000 Subject: [PATCH] Docs: Document the usage of the global `$wpdb` in `_filter_query_attachment_filenames()`. Merge of [39390] to the 4.7 branch. Props mt8.biz. See #38973. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39391 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/post.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index 9505227fb5..ab50c27d94 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -1160,6 +1160,8 @@ function wp_edit_attachments_query_vars( $q = false ) { * @since 4.7.0 * @access private * + * @global wpdb $wpdb WordPress database abstraction object. + * * @param array $clauses An array including WHERE, GROUP BY, JOIN, ORDER BY, * DISTINCT, fields (SELECT), and LIMITS clauses. * @return array The modified clauses.