Fixes for hooks documentation in wp-includes/wp-db.php.
See #26869, #25229 and [25284]. git-svn-id: https://develop.svn.wordpress.org/trunk@27147 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6229ba0bb3
commit
b013aaf4c9
@ -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
Block a user