eleven-miles-dev/wp-automated-updates

此包的最新版本(0.5)没有可用的许可信息。

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

0.5 2023-06-28 16:08 UTC

This package is auto-updated.

Last update: 2024-09-28 19:20:45 UTC


README

希腊变化之神

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

  • 高级自定义字段Pro
  • Gravity Forms(及其附加组件)
  • 以及更多即将到来!

功能

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

总的来说,这是一个非常实用的工具,可以加快更新WordPress网站及其所有相关部件的任务,无需手动逐一更新。它还使我们能够在git的约束下工作,并对上线的变化提供细粒度控制。

技术

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

  • WP CLI - 所有这些功能的基础
  • Grafvity 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