[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
Sun Oct 27 04:01:46 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:  has-patch commit  |
------------------------------+--------------------

Comment (by dd32):

 Replying to [comment:16 azaozz]:
 > > preg_match is only checking to see if a non-a-z ascii character is
 present.
 >
 > Right, the conditional is true only for single letters so they are
 removed from the separate term matching. `strlen()` checks if the term is
 only one byte long, so preg_match() is not run when not needed.

 Right, I missed the part where it was decided to just ignore single-letter
 Ascii characters for now.

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


More information about the wp-trac mailing list