#62608 closed enhancement (duplicate)
Use of deprecated utf8_encode in 3 places
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | trunk |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
hey, in the following file, utf8_encode is used which is a deprecated function according to PHP 8.2 release https://www.php.net/manual/en/function.utf8-encode.php
code links where it is used
Change History (4)
This ticket was mentioned in PR #7919 on WordPress/wordpress-develop by @yogeshbhutkar.
2 months ago
#1
- Keywords has-patch added
@yogeshbhutkar commented on PR #7919:
2 months ago
#2
I believe there is an opportunity for improvement by utilizing mb_detect_encoding to dynamically detect the from encoding, rather than defaulting to ISO-8859-1 in all three instances.
I will await confirmation from the reviewer before proceeding with the implementation of this update.
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/62608