Fix from alex:
http://wordpress.org/support/10/1636#post-11 git-svn-id: http://svn.automattic.com/wordpress/trunk@755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d6ec36fed7
commit
bc5519d97b
|
@ -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