wp_check_php_mysql_versions() outputs messages with no charset defined
|Reported by:||rodrigosprimo||Owned by:||nacin|
After  the function wp_check_php_mysql_versions() doesn't define a charset before sending messages to the browser leading to strings with invalid characters in some languages. For example, in Brazilian Portuguese, if the MySQL extension for PHP is not installed the user sees the string below:
Parece que em sua instalaÃ§Ã£o do PHP estÃ¡ faltando a extensÃ£o MySQL, que Ã© requesitada pelo WordPress.
I'm not sure if we should simply set the charset calling the header() function (patch attached) or if we should move wp_die() function to another or a new file where it can be used by wp_check_php_mysql_versions() as Nacin proposed in comment:6:ticket:21316. I don't know WP enough to decide where could be a better location for wp_die().
Change History (5)
comment:1 follow-up: ↓ 2 SergeyBiryukov — 4 months ago
- Keywords has-patch 3.9-early added
- Milestone changed from Awaiting Review to Future Release
- Version set to 3.4.2