From 8a87a2345bda42c55481a8fdfadcf3814ad938ba Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 9 Nov 2013 15:52:30 +0000 Subject: [PATCH] Declare the variable before using it. props tivnet. fixes #25895 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@26060 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/query.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/query.php b/src/wp-includes/query.php index 4600dc93e8..a1c0354774 100644 --- a/src/wp-includes/query.php +++ b/src/wp-includes/query.php @@ -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 )