mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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');
|
$search_engines = array('wordpress', 'google', 'lycos', 'yahoo');
|
||||||
|
|
||||||
foreach ($search_engines as $engine) {
|
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);
|
$query_terms = get_search_query_terms($engine);
|
||||||
foreach ($query_terms as $term) {
|
foreach ($query_terms as $term) {
|
||||||
if (!preg_match('/<.+>/',$text)) {
|
if (!preg_match('/<.+>/',$text)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user