[wp-trac] [WordPress Trac] #65342: Charset: Polyfill mb_ord() and mb_chr() for UTF-8

WordPress Trac noreply at wordpress.org
Thu May 28 01:55:14 UTC 2026


#65342: Charset: Polyfill mb_ord() and mb_chr() for UTF-8
--------------------------------------+----------------------
 Reporter:  dmsnell                   |       Owner:  dmsnell
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  7.1
Component:  Charset                   |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------
Changes (by dmsnell):

 * owner:  (none) => dmsnell
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"62424" 62424]:
 {{{
 #!CommitTicketReference repository="" revision="62424"
 Charset: Polyfill mb_ord() and mb_chr().

 These functions are useful primitives but missing when the mbstring
 extension isn’t available. This patch adds polyfills for those few
 environments where this is the case so that WordPress code can
 unconditionally call them.

 Developed in: https://github.com/WordPress/wordpress-develop/pull/11965
 Discussed in: https://core.trac.wordpress.org/ticket/65342

 Fixes #65342.
 }}}

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


More information about the wp-trac mailing list