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:
Matt Mullenweg 2004-01-12 09:33:02 +00:00
parent bb4afb9042
commit 6a05550bba
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {