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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • 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
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. WordPress (Managed)
  3. [IDEA] Disabling Core-Update notifications by default

[IDEA] Disabling Core-Update notifications by default

Scheduled Pinned Locked Moved WordPress (Managed)
6 Posts 4 Posters 1.9k Views 4 Watching
  • 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
    • M maxkreg

      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 Offline
      girishG Offline
      girish
      Staff
      wrote 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
      • girishG girish

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

        ? Offline
        ? Offline
        A Former User
        wrote 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
        • ? A Former User

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

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote 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
            • girishG girish

              @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 Offline
              M Offline
              maxkreg
              wrote 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

              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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

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