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
This commit is contained in:
Dominik Schilling (ocean90) 2016-11-30 23:20:33 +00:00
parent 3f120c78cb
commit 8a3192234d
1 changed files with 2 additions and 0 deletions

View File

@ -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.