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:
Drew Jaynes 2014-02-09 20:50:42 +00:00
parent 6229ba0bb3
commit b013aaf4c9
1 changed files with 4 additions and 2 deletions

View File

@ -703,7 +703,7 @@ class wpdb {
*
* @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 );
@ -1338,9 +1338,11 @@ class wpdb {
/**
* 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
*
* @param string $query Database query.
*/
$query = apply_filters( 'query', $query );