[wp-trac] [WordPress Trac] #28162: seems_utf8() fails with mbstring.func_overload enabled

WordPress Trac noreply at wordpress.org
Wed May 7 11:01:01 UTC 2014


#28162: seems_utf8() fails with mbstring.func_overload enabled
------------------------------+--------------------
 Reporter:  SergeyBiryukov    |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.0
Component:  Formatting        |     Version:  1.2.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch commit


Comment:

 [attachment:28162.patch] uses `mbstring_binary_safe_encoding()` before
 calling `strlen()`, which fixes both the tests and the slug generation.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28162#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list