[wp-trac] [WordPress Trac] #50988: Provide option to disable emails about auto-updates
WordPress Trac
noreply at wordpress.org
Mon Aug 24 11:50:49 UTC 2020
#50988: Provide option to disable emails about auto-updates
------------------------------------+-----------------------------
Reporter: Paddy Landau | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.5.1
Component: Upgrade/Install | Version: 5.5
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: administration
------------------------------------+-----------------------------
Comment (by audrasjb):
Replying to [comment:14 telesites]:
> Agreed. We have 90+ sites. We need to be able to turn these off somehow,
please.
>
> In fact, they should be off by default, I think. If we have to log into
each site to throw a switch to turn these off - it will require about 3
hours if the person does it non-stop.
> We use a third party plugin to update ALL plugins and it has an option
to enable email notifications. It is nice that you decided to include this
in the core but we need some control.
>
> For now we have created a rule in our email program to deal with them.
@telesites if you maintain a large amount of website, you should
programatically disable email notifications using the available and
documented filters:
{{{#!php
<?php
add_filter( 'auto_plugin_update_send_email', '__return_false' );
add_filter( 'auto_theme_update_send_email', '__return_false' );
}}}
Companies that maintains many websites usually put such hooks in a mu-
plugin so it can be uploaded and maintained programatically, without
having to connect to each website’s dashboard.
----
@christiesoda this is actually an optional feature you can disable as
auto-updates need to be manually activated plugin by plugin and theme by
theme.
> Some of these sites, I DON'T HAVE ACCESS TO anymore, so disabling this
feature would not be possible. I also CAN'T install a new plugin to
disable these emails.
In this case, you weren't able to activate auto-updates so you don't
receive any notification. Someone probably activated it for you, which
means you are still the admin of a website you don't maintain anymore. You
should contact the website owner to ask them to remove your admin account,
isn't it? I don't think WordPress core can handle such use case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50988#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list