Ticket #25585: 25585.patch
File 25585.patch, 662 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/query.php
2001 2001 if ( in_array( call_user_func( $strtolower, $term ), $stopwords, true ) ) 2002 2002 continue; 2003 2003 2004 /** 2005 * Filter a search term after it has passed through the length and stopwords checks. 2006 * 2007 * Can be used to alter or remove a term. 2008 * 2009 * @since 3.7.0 2010 * 2011 * @param string $term The search term. 2012 */ 2013 if ( ! $term = apply_filters( 'wp_search_term', $term ) ) 2014 continue; 2015 2004 2016 $checked[] = $term; 2005 2017 } 2006 2018