[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 22:08:21 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 azaozz):

 31951.1.patch is the `function_exists()` check. The result is stored in a
 static to reduce calls to it.

 I'm 50/50 on which to use. 31951.patch would be better for the long run,
 not sure if we should be introducing it right before RC.

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


More information about the wp-trac mailing list