Docs: Correct the $request parameter datatype in the hook doc for the posts_request filter.

It's a string, not an array.

Props coffee2code.
Fixes #37142.


git-svn-id: https://develop.svn.wordpress.org/trunk@37848 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes
2016-06-21 22:21:55 +00:00
parent 75351068df
commit e2705a8718

View File

@@ -3550,7 +3550,7 @@ class WP_Query {
*
* @since 2.0.0
*
* @param array $request The complete SQL query.
* @param string $request The complete SQL query.
* @param WP_Query &$this The WP_Query instance (passed by reference).
*/
$this->request = apply_filters_ref_array( 'posts_request', array( $this->request, &$this ) );