Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

[IDEA] Disabling Core-Update notifications by default

Scheduled Pinned Locked Moved WordPress (Managed)
6 Posts 4 Posters 262 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maxkreg
    wrote on last edited by
    #1

    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?

    girishG 1 Reply Last reply
    2
  • girishG Offline
    girishG Offline
    girish Staff
    replied to maxkreg on last edited by
    #2

    @maxkreg I think it's a good idea! In fact, we used to previously use a plugin called disable-core-update but that became unmaintained. So, we removed it and replaced with our own - https://git.cloudron.io/cloudron/wordpress-managed-app/-/commit/8a097db0f6041778ff5e458cc4332f9f71ed5bde

    Then 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.

    ? M 2 Replies Last reply
    2
  • ? Offline
    ? Offline
    A Former User
    replied to girish on last edited by
    #3

    @girish could WP_AUTO_UPDATE_CORE be set to false in the WP-config?

    girishG 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to A Former User on last edited by
    #4

    @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.

    1 Reply Last reply
    2
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    wrote on last edited by d19dotca
    #5

    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 );

    --
    Dustin Dauncey
    www.d19.ca

    1 Reply Last reply
    1
  • M Offline
    M Offline
    maxkreg
    replied to girish on last edited by
    #6

    @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-update but that became unmaintained. So, we removed it and replaced with our own - https://git.cloudron.io/cloudron/wordpress-managed-app/-/commit/8a097db0f6041778ff5e458cc4332f9f71ed5bde

    Then 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.

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.