Fixes for hooks documentation in wp-includes/wp-db.php.
See #26869, #25229 and [25284]. Built from https://develop.svn.wordpress.org/trunk@27147 git-svn-id: http://core.svn.wordpress.org/trunk@27014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c457c7856d
commit
aa8b462a95
|
@ -703,7 +703,7 @@ class wpdb {
|
||||||
*
|
*
|
||||||
* @see wpdb::$incompatible_modes
|
* @see wpdb::$incompatible_modes
|
||||||
*
|
*
|
||||||
* @param array $incompatible_modes An array of incompatible modes
|
* @param array $incompatible_modes An array of incompatible modes.
|
||||||
*/
|
*/
|
||||||
$incompatible_modes = (array) apply_filters( 'incompatible_sql_modes', $this->incompatible_modes );
|
$incompatible_modes = (array) apply_filters( 'incompatible_sql_modes', $this->incompatible_modes );
|
||||||
|
|
||||||
|
@ -1338,9 +1338,11 @@ class wpdb {
|
||||||
/**
|
/**
|
||||||
* Filter the database query.
|
* Filter the database query.
|
||||||
*
|
*
|
||||||
* Some queries are made before the plugins have been loaded, and thus cannot be filtered with this method.
|
* Some queries are made before the plugins have been loaded,
|
||||||
|
* and thus cannot be filtered with this method.
|
||||||
*
|
*
|
||||||
* @since 2.1.0
|
* @since 2.1.0
|
||||||
|
*
|
||||||
* @param string $query Database query.
|
* @param string $query Database query.
|
||||||
*/
|
*/
|
||||||
$query = apply_filters( 'query', $query );
|
$query = apply_filters( 'query', $query );
|
||||||
|
|
Loading…
Reference in New Issue