Make WordPress Core

Changeset 41041


Ignore:
Timestamp:
07/13/2017 03:41:15 PM (7 years ago)
Author:
DrewAPicture
Message:

Docs: Document usage of the $wpdb global in WP_Query::parse_search() and WP_Query::parse_orderby().

Props avinapatel.
Fixes #41313.

File:
1 edited

Legend:

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

    r40978 r41041  
    12931293
    12941294    /**
    1295      * Generate SQL for the WHERE clause based on passed search terms.
     1295     * Generates SQL for the WHERE clause based on passed search terms.
    12961296     *
    12971297     * @since 3.7.0
     1298     * @access protected
     1299     *
     1300     * @global wpdb $wpdb WordPress database abstraction object.
    12981301     *
    12991302     * @param array $q Query variables.
     
    15091512     * @since 4.0.0
    15101513     * @access protected
     1514     *
     1515     * @global wpdb $wpdb WordPress database abstraction object.
    15111516     *
    15121517     * @param string $orderby Alias for the field to order by.
Note: See TracChangeset for help on using the changeset viewer.