[wp-trac] [WordPress Trac] #25709: Searches with stopwords can trigger E_WARNING when PCRE is lacking UTF-8 support

WordPress Trac noreply at wordpress.org
Sat Oct 26 19:03:11 UTC 2013


#25709: Searches with stopwords can trigger E_WARNING when PCRE is lacking UTF-8
support
--------------------------+--------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  3.7.1
Component:  General       |     Version:  3.7
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by nacin):

 `if ( ! $term || ( 1 === strlen( $term ) && preg_match( '/^[a-z]$/i',
 $term ) ) )`

 [attachment:25709.2.diff]

 Thoughts? Good?

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


More information about the wp-trac mailing list