此包的最新版本(dev-master)没有可用的许可证信息。

一个 WP-CLI 插件,可以添加各种命令来自动化更新 WordPress 核心和插件的过程。

dev-master 2024-08-22 15:58 UTC

This package is auto-updated.

Last update: 2024-09-22 16:11:41 UTC


README

希腊神话中的变化之神

Janus 是 WP CLI 工具的扩展,允许快速轻松地更新 WordPress 和其插件。这包括免费插件和一些付费插件,例如:

  • Advanced Custom Fields Pro
  • Gravity Forms(以及插件)
  • 还有很多更多即将到来!

功能

  • 更新 WordPress 并在完成后自动提交这些更改。
  • 批量更新插件,进行单独提交,以便将来进行精选。
  • 批量更新主题,使用单个提交。未来我们可能在这里添加单独的提交。
  • 批量更新翻译。未来我们可能在这里添加单独的提交。

总的来说,这是一个非常方便的工具,可以加快更新 WordPress 网站及其所有相关部分的进程,无需手动逐一进行。它还允许我们在 git 的限制下工作,并提供对上线更改的精细控制。

技术

Janus 使用多个开源项目来正常工作

  • WP CLI - 所有这些功能的基础
  • Gravity Forms CLI - 一个插件,提供更新 Gravity Forms 和任何相关插件的支持。

安装

Dillinger 需要 Composer 运行。

要将我们的更新包包含在 WP CLI 中,您需要将以下代码添加到您的 functions.php 中

new ElevenMiles/Janus/CLI();

这将为您提供访问大量更新命令的方法

wp update all # update all of the following in bulk
wp update wordpress # update wordpress to the latest release
wp update plugins # update each of the plugins with available updates to the latest version
wp update themes # update all themes to their latest versions
wp update translations # update translations