This rocks. Wasn't a fan of bluehost before, and probably still won't ever use them, but this ... this is very cool, and will make a very real difference. Good job, Bluehost.
After determining that a significant number of customers were running outdated versions of WordPress, Bluehost’s development team created a unique Perl script utilizing WP-CLI (WordPress-Command Line Interface) and custom code to update WordPress sites going back to version 1.0.2. Bluehost completed exhaustive tests and reviews to ensure the script resulted in minimal disruptions or site downtime. In this impressive undertaking, 99% of WordPress sites on Bluehost’s platform were upgraded successfully with fewer than 0.007% of customers reporting any issues. Since implementation, the company has seen a significant 18% reduction in technical support requests relating to WordPress. Bluehost has further implemented this new technology to continually update WordPress websites to ensure customers on its platform enjoy the security of an up-to-date WordPress site going forward.
Dan's slides on making the WP REST API accessible from the command line via WP-CLI. Exciting stuff! Link to the GitHub project: https://github.com/danielbachhuber/wp-rest-cli
Earlier today, I gave a talk at A Day of REST about unlocking the potential of the WP REST API at the command line — by creating a more RESTful WP-CLI. Check out the project on Github, and stay tuned for the v0.1.0 release. Read on for my (loosely edited) annotated slides from the presentation. A more RESTful WP-CLI is about unlocking the potential of the WP REST API at the command line. But what does this actually mean? Let me begin with a story…
Migrations used to really suck.
Back in the olden days, there was a web interface for mapping users before import. Imagine having dozens of files to import, each with hundreds of users to map. This nightmare is how I started out.
At the beginning of my career I helped run CoPress, a hosting company which helped move student newspaper websites to WordPress. Intelligently, we had a Python conversion script to transform College Publisher archives to WordPress WXR. Not very intelligently, we uploaded those WXR files through the web. CM Life was the largest import I had to work on.
“Hey Brian, about a third of your archives have been imported into your site. To finish this process, however, we’ll need to take the site down for up to a couple of