[IDEA] Disabling Core-Update notifications by default
-
Wordpress sends out notifications of about anyting imaginable to the admin - which is fine, if you are managing only a couple of sites.
There are plugins to suppress some of these notifications.Now, with managed Wordpress, core updates are handled by cloudron, so those notifications inside WP and the E-Mails it sends out are quite useless/borderline annoying.
It seems like you can edit the functions.php to disable those "nags".Wouldn´t it be a good idea to implement this as a default for cloudron managed WP?
-
Wordpress sends out notifications of about anyting imaginable to the admin - which is fine, if you are managing only a couple of sites.
There are plugins to suppress some of these notifications.Now, with managed Wordpress, core updates are handled by cloudron, so those notifications inside WP and the E-Mails it sends out are quite useless/borderline annoying.
It seems like you can edit the functions.php to disable those "nags".Wouldn´t it be a good idea to implement this as a default for cloudron managed WP?
@maxkreg I think it's a good idea! In fact, we used to previously use a plugin called
disable-core-updatebut that became unmaintained. So, we removed it and replaced with our own - https://git.cloudron.io/cloudron/wordpress-managed-app/-/commit/8a097db0f6041778ff5e458cc4332f9f71ed5bdeThen our plugin broke as well, so we removed it - https://git.cloudron.io/cloudron/wordpress-managed-app/-/commit/08e6cf17a24e047806f4846bf1083b33c40642d6 . If someone can tell me how this can be done reliably, I am happy to integrate it into the package but WP makes this really complicated for some reason.
-
@maxkreg I think it's a good idea! In fact, we used to previously use a plugin called
disable-core-updatebut that became unmaintained. So, we removed it and replaced with our own - https://git.cloudron.io/cloudron/wordpress-managed-app/-/commit/8a097db0f6041778ff5e458cc4332f9f71ed5bdeThen our plugin broke as well, so we removed it - https://git.cloudron.io/cloudron/wordpress-managed-app/-/commit/08e6cf17a24e047806f4846bf1083b33c40642d6 . If someone can tell me how this can be done reliably, I am happy to integrate it into the package but WP makes this really complicated for some reason.
@girish could WP_AUTO_UPDATE_CORE be set to false in the WP-config?
-
@girish could WP_AUTO_UPDATE_CORE be set to false in the WP-config?
@atridad I think that only disables the updates itself but not the notifications. But I just found https://wordpress.org/support/article/configuring-automatic-background-updates/#disable-emails-via-filter thanks to your search term... I will give it a shot in the next package update.
-
I can't speak to the notifications part, but I definitely have been setting the following in wp-config.php (via MainWP) which stops the auto-updates from happening (for both theme, plugin, and core), which gives me more manual control over that when managing so many sites.
define( 'AUTOMATIC_UPDATER_DISABLED', true ); -
@maxkreg I think it's a good idea! In fact, we used to previously use a plugin called
disable-core-updatebut that became unmaintained. So, we removed it and replaced with our own - https://git.cloudron.io/cloudron/wordpress-managed-app/-/commit/8a097db0f6041778ff5e458cc4332f9f71ed5bdeThen our plugin broke as well, so we removed it - https://git.cloudron.io/cloudron/wordpress-managed-app/-/commit/08e6cf17a24e047806f4846bf1083b33c40642d6 . If someone can tell me how this can be done reliably, I am happy to integrate it into the package but WP makes this really complicated for some reason.
@girish said in [IDEA] Disabling Core-Update notifications by default:
I think it's a good idea! In fact, we used to previously use a plugin called
disable-core-updatebut that became unmaintained. So, we removed it and replaced with our own - https://git.cloudron.io/cloudron/wordpress-managed-app/-/commit/8a097db0f6041778ff5e458cc4332f9f71ed5bdeThen our plugin broke as well, so we removed it - https://git.cloudron.io/cloudron/wordpress-managed-app/-/commit/08e6cf17a24e047806f4846bf1083b33c40642d6
Wow, I did not even know this has been a struggle for such a long time. It seems like you guys are on top of things anyway.
WP makes this really complicated for some reason.
For all the good WP does, there always is a catch like this

I will give it a shot in the next package update.
I am excited already! This seems to be the way to go for now.
@d19dotca said in [IDEA] Disabling Core-Update notifications by default:
I can't speak to the notifications part, but I definitely have been setting the following in wp-config.php (via MainWP) which stops the auto-updates from happening (for both theme, plugin, and core), which gives me more manual control over that when managing so many sites.
define( 'AUTOMATIC_UPDATER_DISABLED', true );Good idea, sadly I need my plugins/themes to automatically update.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login