Fix from alex:
http://wordpress.org/support/10/1636#post-11 git-svn-id: https://develop.svn.wordpress.org/trunk@755 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bb4afb9042
commit
6a05550bba
@ -1751,7 +1751,7 @@ function hilite($text) {
|
||||
$search_engines = array('wordpress', 'google', 'lycos', 'yahoo');
|
||||
|
||||
foreach ($search_engines as $engine) {
|
||||
if ( is_referer_search_engine($engine) ) {
|
||||
if ( is_referer_search_engine($engine) && !empty($term) && $term != ' ') {
|
||||
$query_terms = get_search_query_terms($engine);
|
||||
foreach ($query_terms as $term) {
|
||||
if (!preg_match('/<.+>/',$text)) {
|
||||
|
Loading…
Reference in New Issue
Block a user