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

WordPress Trac noreply at wordpress.org
Sun Nov 10 12:27:18 UTC 2013


#25895: get_search_stopwords : undefined var
------------------------------------------+-----------------------------
 Reporter:  tivnet                        |       Owner:  SergeyBiryukov
     Type:  defect (bug)                  |      Status:  reopened
 Priority:  normal                        |   Milestone:  3.7.2
Component:  General                       |     Version:  3.7
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch commit fixed-major  |
------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:5 nacin]:
 > I think this would actually end up being an E_WARNING, due to in_array()
 not receiving an array.

 Correct:
 {{{
 Notice: Undefined variable: stopwords in wp-includes/query.php on line
 2033
 Warning: in_array() [function.in-array]: Wrong datatype for second
 argument in wp-includes/query.php on line 1993
 }}}

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


More information about the wp-trac mailing list