[wp-trac] [WordPress Trac] #50280: Enable auto-updates shows for plugins with no support
WordPress Trac
noreply at wordpress.org
Wed Jun 3 19:42:39 UTC 2020
#50280: Enable auto-updates shows for plugins with no support
------------------------------------+-----------------------------------
Reporter: elrae | Owner: audrasjb
Type: enhancement | Status: accepted
Priority: normal | Milestone: 5.5
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: docs, administration
------------------------------------+-----------------------------------
Comment (by azaozz):
Replying to [comment:5 audrasjb]:
> `50280.1.diff` is a way better than my first patch.
Thanks! :)
> I was unsure about how to handle the Themes screen using the same filter
used on Multisite Theme, but it makes sense to use a different one, as
this screen is really specific.
Yes, has to have a different filter as the list table needs HTML, but the
Themes screen needs a template.
I'm having some second thoughts on
`output_theme_auto_update_setting_template` though. It is the cleaner way
of doing this, but that filter acts as both a filter and an action, which
is unusual/may be a bit confusing. Also when more than one plugin is using
the same filter, the last plugin to hook there wins, in this case the
first plugin wins. Perhaps would be better to filter the template code as
string after all, similarly to how the HTML filters work.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50280#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list