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
{{ message }}
Repository navigation
wp core download crash when latest WP version is not in the desired locale #240
wp core download --locale=xx_XX crash when lastest WP version is not in the desired locale
wp core download && wp language core install fr_FR --activate
is broken too (install ok but not the lang, switching to FR in admin break the website with sql errors)
Example
wp --allow-root core download --locale=fr_FR --force
crash with :
Error: The requested locale (fr_FR ) was not found.
Solution
allow this command to download the lastest version (6.2.2, instead of 6.3 in the example) to use the desired locale.
wp --allow-root core download --locale=fr_FR --force
or add a flag to allow downloading the previous working version.
This is a known issue that unfortunately occurs until the locale release is ready.
allow this command to download the lastest version (6.2.2, instead of 6.3 in the example) to use the desired locale. wp --allow-root core download --locale=fr_FR --force
or add a flag to allow downloading the previous working version.
I don't think we should automatically downgrade. Making it a specific opt-in behavior with a flag seems fine, though.
changed the title [-]wp core download crash when lastest WP version is not in the desired locale[/-][+]wp core download crash when latest WP version is not in the desired locale[/+]on Mar 19, 2026
Activity
danielbachhuber commentedon Aug 29, 2023
Thanks for the report, @neoteknic !
This is a known issue that unfortunately occurs until the locale release is ready.
I don't think we should automatically downgrade. Making it a specific opt-in behavior with a flag seems fine, though.
Feel free to submit a pull request, if you'd like. Here is some guidance on our pull request best practices.
[-]wp core download crash when lastest WP version is not in the desired locale[/-][+]wp core download crash when latest WP version is not in the desired locale[/+]