mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user