foreach is a statement, not a function.

See #33491.


git-svn-id: https://develop.svn.wordpress.org/trunk@33734 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-08-25 20:27:56 +00:00
parent 755d109d10
commit 3b8c5529cb
46 changed files with 97 additions and 97 deletions
+1 -1
View File
@@ -2176,7 +2176,7 @@ class WP_Query {
'Comma-separated list of search stopwords in your language' ) );
$stopwords = array();
foreach( $words as $word ) {
foreach ( $words as $word ) {
$word = trim( $word, "\r\n\t " );
if ( $word )
$stopwords[] = $word;