Declare the variable before using it. props tivnet. fixes #25895 for trunk.

Built from https://develop.svn.wordpress.org/trunk@26060


git-svn-id: http://core.svn.wordpress.org/trunk@25983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-11-09 15:53:09 +00:00
parent dee70a91a6
commit 297e714932

View File

@ -2017,6 +2017,7 @@ class WP_Query {
$words = explode( ',', _x( 'about,an,are,as,at,be,by,com,for,from,how,in,is,it,of,on,or,that,the,this,to,was,what,when,where,who,will,with,www',
'Comma-separated list of search stopwords in your language' ) );
$stopwords = array();
foreach( $words as $word ) {
$word = trim( $word, "\r\n\t " );
if ( $word )