[wp-trac] [WordPress Trac] #34631: Extra compat for mbstring: mb_strpos()
WordPress Trac
noreply at wordpress.org
Wed Jul 2 17:46:14 UTC 2025
#34631: Extra compat for mbstring: mb_strpos()
-------------------------------------------------+-------------------------
Reporter: Cybr | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Charset | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch needs-testing 2nd-opinion | Focuses:
needs-unit-tests |
-------------------------------------------------+-------------------------
Changes (by jorbin):
* keywords: has-patch needs-testing close 2nd-opinion => has-patch needs-
testing 2nd-opinion needs-unit-tests
Comment:
For as long as WordPress supports running without multibyte compiled in, I
think it's valuable to include these polyfills.
That said, I would like to see some unit tests for this.
[https://github.com/php/php-
src/tree/51149b65adb7970c32477568f6f092f7cabe1764/ext/mbstring/tests PHP
has a number of them] that we may be able to reuse.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34631#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list