mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user