[wp-trac] [WordPress Trac] #50197: PHP 7.4 Compatibility with WP 5.4.1 – problem with seems_utf8()

WordPress Trac noreply at wordpress.org
Sun May 17 20:15:44 UTC 2020


#50197: PHP 7.4 Compatibility with WP 5.4.1 – problem with seems_utf8()
-------------------------------+------------------------------
 Reporter:  fohly              |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Formatting         |     Version:  5.4.1
 Severity:  normal             |  Resolution:
 Keywords:  close 2nd-opinion  |     Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close 2nd-opinion
 * component:  General => Formatting


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the the report.

 The docs for
 [https://developer.wordpress.org/reference/functions/seems_utf8/
 seems_utf8()] clearly say that it accepts a string. If something passes an
 integer to it, that seems like a developer error, so the notice is
 appropriate. I don't think we should silently hide developer errors.

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


More information about the wp-trac mailing list