You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By the way, I just found that if I set a 12 character Short Name with special character in it, like “On the Rhône” it will get cut off at 11 characters after saving. The short name with a simple “o” instead of the “ô” does not suffer this issue.
As reported by @RavanH:
Yes, this is due to having used
substr()
instead ofmb_substr()
insanitize_short_name
. I can see that using the latter will fix the issue: https://3v4l.org/DeJdrNote that we are using the multibyte-safe function in
is_name_short
:pwa-wp/wp-includes/class-wp-web-app-manifest.php
Lines 191 to 195 in 456f039
We just need to use it in
sanitize_short_name
as well.The text was updated successfully, but these errors were encountered: