Closed adamwoodnz closed 1 year ago
The Japanese translation for this string includes a %
sign, which could be the cause:
Thank you very much!
We solved the problem by changing the %
sign in the translation to a multibyte %
.
Another way to fix it: when sprintf() or printf() is used, any occurrences of the usual "%" character must be escaped as "%%".
The site is crashing when the Japanese locale is selected, but only occurs if the locale notice is rendered.
The error is triggered by this
printf
https://github.com/WordPress/wp20.wordpress.net/blob/b7776b71f675ce9698eb85de1b39c207d24bcffc/wp-content/mu-plugins/locales.php#L243-L244
Screenshots
Local
Prod
Stack trace: