#62608 closed enhancement (duplicate)
Use of deprecated utf8_encode in 3 places
| Reported by: | pratiklondhe | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 6.9 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
22 months ago
#1
- Keywords has-patch added
@yogeshbhutkar commented on PR #7919:
22 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/62608