[wp-trac] [WordPress Trac] #55603: PHP 8.2: address deprecation of the utf8_encode() and utf8_decode() functions
WordPress Trac
noreply at wordpress.org
Tue Mar 10 15:41:14 UTC 2026
#55603: PHP 8.2: address deprecation of the utf8_encode() and utf8_decode()
functions
-------------------------------------------------+-------------------------
Reporter: jrf | Owner:
| SergeyBiryukov
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 7.0
Component: General | Version: 6.0
Severity: normal | Resolution:
Keywords: 2nd-opinion php82 dev-feedback has- | Focuses: coding-
patch has-unit-tests | standards
-------------------------------------------------+-------------------------
Comment (by rodrigosprimo):
Per @desrosj's suggestion in
https://core.trac.wordpress.org/ticket/64634#comment:2, noting that #64634
(updating PHPCompatibilityWP to 3.0.0-alpha2) is blocked by this ticket.
The new PHPCompatibility version surfaces new `utf8_encode` deprecation
violations in `export.php` and `image.php`. Rather than suppressing these
with `phpcs:ignore` annotations, the plan is to wait for a decision on
this ticket before proceeding with the update.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55603#comment:98>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list