WordPress / wp-autoupdates

Feature plugin building a UI for opting-in to plugin, theme, and core auto-updates.
https://wordpress.org/plugins/wp-autoupdates/
GNU General Public License v2.0
57 stars 18 forks source link

Major vs. Minor Updates #140

Open dream-encode opened 4 years ago

dream-encode commented 4 years ago

I don't see it discussed previously, so I thought I'd throw this out there. Has any consideration been given to allow for more ganularity on the auto-update flag?

In other words, instead of just having "Enabled" and "Disabled", adding "Enabled for Minor Versions Only" and changing "Enabled" to "Enabled for All Versions".

If this is potential plugin territory, can hooks be added to parse the version when deciding whether a plugin/theme is auto-updated?

pedro-mendonca commented 4 years ago

That might be interesting, as it works in core, the problem is that plugin authors use different version numbering, there is no rule for that so it can be relied upon.

desrosj commented 4 years ago

Ya, I agree with @pedro-mendonca. Unfortunately, I don't think this is possible currently because there is no guarantee that all plugin or theme authors abide by the same rules for versioning. Authors are free to version how they wish. In core, the versions are defined and controlled.

Ideally, I think, there would be enabled, disabled, security, minor, major. But that would require changes to the plugin directory guidelines and a lot of outreach/effort.

desrosj commented 4 years ago

As for plugin territory, this should be doable with the filters that are currently in trunk. If that's not the case, feel free to request some new ones!

pbiron commented 4 years ago

This has been discussed in #4.