jalefkowit/Vagrant-Ansible-Wordpress

Update bundled WordPress to 4.2.1

Closed this issue · 1 comments

4.2.1 is the latest version of WordPress, might want to update the bundled zip.

I'd open a pull request for this, but I find it a bit sensitive security-wise to provide a zip file (trust no one!) so it's probably a better idea that you do it yourself.

Here is the download link: https://wordpress.org/latest.zip

Let me know if you would rather have a pull request for automatically downloading the latest version of WordPress as part of provisioning.

Good point, thanks for bringing it up -- I've replaced the old bundled WP with a clean ZIP of 4.2.1 downloaded from WordPress.org.

The original version of this thing actually did d/l the ZIP as part of provisioning, rather than including the ZIP (see a1242de), but doing it that way made the initial bootstrap pretty slow and I got some feedback that it'd be nice to remove the need for a net connection, so I moved to bundling the ZIP instead. Now that you mention it, though, it strikes me that there should probably at least be a flag or switch or something you could use to point it at your own copy of WP, or to tell it to download a new one, so you don't have to trust the bundled ZIP if you don't want to. I'll chew on that a bit. If you want to take a whack at it though, feel free to put in a pull request!