[wp-trac] [WordPress Trac] #25895: get_search_stopwords : undefined var

WordPress Trac noreply at wordpress.org
Sat Nov 9 13:25:48 UTC 2013


#25895: get_search_stopwords : undefined var
--------------------------+-----------------------------
 Reporter:  tivnet        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.7.1
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 If translators decide to have an empty list of stopwords, there will be an
 undefined variable warning, because `$stopwords` was not initialized
 before the loop

 Added `$stopwords = array();` before the loop.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25895>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list