I'm considering he possibility of automating/scripting a basic WP install. Part of it will include downloading the latest WordPress version.

The en-us version can be obtained by downloading http://wordpress.org/latest.zip (or tar.gz), is there any way to get an always up-to-date file URL for other languages?


Can you include WP-CLI in your script? Then it could be as easy as:

wp core config --dbname=wordpress_default --locale="<your locale>" --dbuser=sqluser --dbpass=sqlpass --quiet
wp core install --url=local.wordpress.dev --quiet --title="Local WordPress Dev" --admin_name=admin --admin_email="admin@local.dev" --admin_password="password"

Docs for wp core config and wp core install

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.