Title: Updater initiative status report: December 25, 2021
Author: Sergey Biryukov
Published: December 25, 2021
Last modified: December 27, 2021

---

 [  ](https://profiles.wordpress.org/sergeybiryukov/) [Sergey Biryukov](https://profiles.wordpress.org/sergeybiryukov/)
2:09 am _on_ December 25, 2021      

# Updater initiative status report: December 25, 2021

During 2021, a group of contributors worked to update the WordPress updaters and
add some features to make auto-updates safer and dependencies more reliable.

The expected outcomes were outlined in [this post in May 2021](https://make.wordpress.org/core/2021/05/03/feature-project-updates-on-updating-the-updaters/).

## Outcomes 1 and 2 – Make sure the zips download and unpacking are safe and create a mechanism to rollback pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory 󠀁[https://wordpress.org/plugins/](https://wordpress.org/plugins/)󠁿 or can be cost-based plugin from a third-party. & theme updates in case of failure

The two goals were solved with one solution, which was [merged in Core in September](https://core.trac.wordpress.org/changeset/51815).
However, due to some failures on the Chassis/Vagrant development environment, the
feature, along with other related tickets, was [reverted during WordPress 5.9 Beta period](https://core.trac.wordpress.org/changeset/52351).

### Next steps

For the feature ready to be shipped with WordPress 6.0, the discovered issue with
Chassic/Vagrant should be resolved. Outreach to hosting companies needs to be done
to ensure production environments will behave as expected.

### Help required – Hosting companies

Would it be possible to get a hosting company to set up different environments to
test the patchpatch A special text file that describes changes to code, by identifying
the files and lines which are added, removed, and altered. It may also be referred
to as a **diff**. A patch can be _applied_ to a codebase for testing. in multiple
scenarios? Including testing on shared servers from hosting providers who aggressively
throttle resources.

## Outcome 3 – Have managed updates (database migrations)

[@aristath](https://profiles.wordpress.org/aristath/) did a [first exploration](https://github.com/aristath/updater-tweaks-poc/tree/main/includes/db),
but nothing substantial was presented to the other contributors yet.

### Next steps

Evaluate if this is beneficial for plugin developers and create user stories before
writing code, to make sure the solution addresses a specific, shared problem.

## Outcome 4 – Create a unified JSONJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. convention for requirements and dependencies

After a lot of conversations, the contributors moved away from a JSON file in favor
of a “Requires Plugins” headerHeader The header of your site is typically the first
thing people will experience. The masthead or header art located across the top 
of your page is part of the look and feel of your website. It can influence a visitor’s
opinion about your content and you/ your organization’s brand. It may also look 
different on different screen sizes. based on [feedback to this PR](https://github.com/WordPress/wordpress-develop/pull/1547).
Then, they focused on adminadmin (and super admin) UIUI User interface improvements
using that header to solve what appears to be the most common use case: protect 
the user from fatal errors when installing a plugin without the required dependencies
and guide them to complete the installation.

Looking back at the conversations (TracTrac An open source project by Edgewall Software
that serves as a bug tracker and project management tool for WordPress. and SlackSlack
Slack is a Collaborative Group Chat Platform [https://slack.com/](https://slack.com/).
The WordPress community has its own Slack Channel at [https://make.wordpress.org/chat/](https://make.wordpress.org/chat/))
it looks like there is not enough clarity on the best possible method to solve the
user issue, or what “dependencies” mean (soft vs. hard dependencies).

For plugin developers, the main issue is to avoid different plugins introducing 
implementations to check for the existence of dependencies and take appropriate 
actions. This is, in fact, something that is already happening. The problem is solved
by each plugin developer. Would it be possible to solve it with a unified convention?

For end-users, the issue is with add-ons. For them to work, they need another plugin
to be activated. If plugin and theme developers don’t properly check for the existence
of plugins before using them, there is a risk of getting fatal errors on the user
site.

### Next steps

[@peterwilsoncc](https://profiles.wordpress.org/peterwilsoncc/) suggested proposing
a feature project. Right now, there is a [Google Document](https://docs.google.com/document/d/1Y5URlKW9GE89u7R3-z5o-0i5-9OVZd9HFaILhUE7mLA/edit)
with some notes about the solutions but the problem and the why are missing. This
project is not tied to a release right now since it is still in the discovery phase.

 * Evaluate the problem from the point of view of plugin developers. Is it beneficial
   to have a unified solution for CoreCore Core is the set of software required 
   to run WordPress. The Core Development Team builds WordPress. or does it not 
   make a difference? Help from the plugin team and plugin authors is needed.
 * Write the user stories from the end-of-user point of view.
 * Write a proposal for a feature project with the findings from the two explorations.

### Do you want to help?

If you want to help, please join the [#core-auto-updates](https://wordpress.slack.com/app_redirect?channel=core-auto-updates)
chats, Tuesdays at 5PM UTC in 2022.

Thanks!

Thank you [@francina](https://profiles.wordpress.org/francina/) and [@aristath](https://profiles.wordpress.org/aristath/)
for the peer review.

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2021/12/25/updater-initiative-status-report-december-25-2021/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2021/12/25/updater-initiative-status-report-december-25-2021/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2021/12/25/updater-initiative-status-report-december-25-2021/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2021/12/25/updater-initiative-status-report-december-25-2021/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2021/12/25/updater-initiative-status-report-december-25-2021/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2021/12/25/updater-initiative-status-report-december-25-2021/?share=linkedin)

 1. ![](https://secure.gravatar.com/avatar/82779a185fccde41e1dd3b914bde84cd6be76c8dcb8f6b983f461c8f5687a87e?
    s=32&d=mm&r=g)
 2.  [Andy Fragen](https://profiles.wordpress.org/afragen/)  3:05 am _on_ December 
    25, 2021
 3. Thanks [@sergeybiryukov](https://profiles.wordpress.org/sergeybiryukov/). I’ve 
    added some background to the problem and the why in the Google doc.
 4. It would be nice to get more input so that we can move forward with a feature project
    post.

Comments are closed.

# Post navigation

[← Dev Chat summary: December 22, 2021](https://make.wordpress.org/core/2021/12/22/dev-chat-summary-december-22-2021/)

[Editor chat summary: Wednesday, 22 December 2021 →](https://make.wordpress.org/core/2021/12/27/editor-chat-summary-wednesday-22-december-2021/)