WordPress.org

Make WordPress Core

Ticket #37142: 37142.diff

File 37142.diff, 544 bytes (added by coffee2code, 5 years ago)

Patch referenced in ticket.

  • src/wp-includes/query.php

     
    35503550                         *
    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                         */
    35563556                        $this->request = apply_filters_ref_array( 'posts_request', array( $this->request, &$this ) );