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

Props mt8.biz.
Fixes #38973.

git-svn-id: https://develop.svn.wordpress.org/trunk@39390 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2016-11-30 23:19:14 +00:00
parent 8ff0f85857
commit a1af86e001

View File

@ -1160,6 +1160,8 @@ function wp_edit_attachments_query_vars( $q = false ) {
* @since 4.7.0 * @since 4.7.0
* @access private * @access private
* *
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param array $clauses An array including WHERE, GROUP BY, JOIN, ORDER BY, * @param array $clauses An array including WHERE, GROUP BY, JOIN, ORDER BY,
* DISTINCT, fields (SELECT), and LIMITS clauses. * DISTINCT, fields (SELECT), and LIMITS clauses.
* @return array The modified clauses. * @return array The modified clauses.