morganestes
10/23/2014 - 9:05 PM

Set up a WordPress site for beta testing with wp-cli.

Set up a WordPress site for beta testing with wp-cli.

#!/usr/bin/env sh

# Install the Beta Tester plugin and set it to "Bleeding Edge" releases.
# Note: after installing plugin and setting the option, you may need to visit
# the site once before updating core version.

wp-beta() {
  wp plugin install wordpress-beta-tester --activate
  wp option set wp_beta_tester_stream unstable
  wp core update
  wp core version --extra
  }

wp-beta