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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    [IDEA] Disabling Core-Update notifications by default

    WordPress (Managed)
    4
    6
    242
    Loading More Posts
    • 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
      maxkreg last edited by

      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?

      girish 1 Reply Last reply Reply Quote 2
      • girish
        girish Staff @maxkreg last edited by

        @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 Reply Quote 2
        • ?
          A Former User @girish last edited by

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

          girish 1 Reply Last reply Reply Quote 1
          • girish
            girish Staff @Guest last edited by

            @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 Reply Quote 2
            • d19dotca
              d19dotca last edited by d19dotca

              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 Reply Quote 1
              • M
                maxkreg @girish last edited by

                @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 Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB