Changeset 25867
- Timestamp:
- 10/22/2013 05:20:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r25689 r25867 1959 1959 } 1960 1960 1961 /** 1962 * Filter the search SQL that is used in the WHERE clause of WP_Query. 1963 * 1964 * @since 3.0.0 1965 * 1966 * @param string $search Search SQL for WHERE clause. 1967 * @param WP_Query $this The current WP_Query object. 1968 */ 1969 return apply_filters_ref_array( 'posts_search', array( $search, &$this ) ); 1961 return $search; 1970 1962 } 1971 1963 … … 2428 2420 if ( ! empty( $q['s'] ) ) 2429 2421 $search = $this->parse_search( $q ); 2422 2423 /** 2424 * Filter the search SQL that is used in the WHERE clause of WP_Query. 2425 * 2426 * @since 3.0.0 2427 * 2428 * @param string $search Search SQL for WHERE clause. 2429 * @param WP_Query $this The current WP_Query object. 2430 */ 2431 $search = apply_filters_ref_array( 'posts_search', array( $search, &$this ) ); 2430 2432 2431 2433 // Taxonomies
Note: See TracChangeset
for help on using the changeset viewer.