[wp-trac] [WordPress Trac] #31951: WP_Press_This::_limit_string() needs to check if mb_strlen() is available

WordPress Trac noreply at wordpress.org
Sat Apr 11 21:16:44 UTC 2015


#31951: WP_Press_This::_limit_string() needs to check if mb_strlen() is available
--------------------------+--------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.2
Component:  Press This    |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------

Comment (by SergeyBiryukov):

 If we need a compat function, [attachment:31951.patch] (from #29573) is
 similar to our current `mb_substr()` compat implementation.

 Otherwise, just need a `function_exists()` check.

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


More information about the wp-trac mailing list