sh 使用wp-cli设置一个WordPress网站进行beta测试。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 使用wp-cli设置一个WordPress网站进行beta测试。相关的知识,希望对你有一定的参考价值。

#!/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

以上是关于sh 使用wp-cli设置一个WordPress网站进行beta测试。的主要内容,如果未能解决你的问题,请参考以下文章