WordPress.org

Make WordPress Core

Changeset 37848


Ignore:
Timestamp:
06/21/2016 10:21:55 PM (4 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/query.php

    r37721 r37848  
    35513551             * @since 2.0.0
    35523552             *
    3553              * @param array    $request The complete SQL query.
     3553             * @param string   $request The complete SQL query.
    35543554             * @param WP_Query &$this   The WP_Query instance (passed by reference).
    35553555             */
Note: See TracChangeset for help on using the changeset viewer.