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. Built from https://develop.svn.wordpress.org/branches/4.7@39391 git-svn-id: http://core.svn.wordpress.org/branches/4.7@39331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
849d8db4fc
commit
29e03dd26c
|
@ -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.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.7-RC1-39389';
|
$wp_version = '4.7-RC1-39391';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue