Support » Fixing WordPress » Preferred method to disable upgrade to WP 5.X?

  • I would still like to receive upgrades to the 4.X install, but want to ensure nobody (other admins) try to “upgrade” to WP 5.X. What’s the best way to handle this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • define( 'WP_AUTO_UPDATE_CORE', false );

    Put that in wp-config.php

    As far as the Admins I have no answer other than to tell them not to.

    • This reply was modified 6 months, 3 weeks ago by  Radices.

    That won’t stop people from clicking the button, and it will stop the auto updates he wants.
    I suppose you could write some CSS to hide the button.

    Moderator Jan Dembowski


    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not a Developing with WordPress topic.

    Preferred method to disable upgrade to WP 5.X?

    Then don’t upgrade. The 4.x to 5.x is not automatic. If an admin level user doesn’t upgrade your installation then the upgrade will not happen.


    I can’t find it but there was a plugin or two that would hide that upgrade notice. There’s no issue with anyone staying on 4.9.x but hiding that message from your users may be useful to you.


    Perhaps Jan was looking for this:

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    define( 'WP_AUTO_UPDATE_CORE', 'minor' );

    This is a better choice. Lets the security updates continue to happen.

    If it’s just the editor you’re concerned about, then you should install the Classic Editor plugin. That will preserve the 4.9.X editing experience while not cutting you off from other improvements and fixes.

    @otto42, thank you. This is the method I will use.

    @jakept, I understand your advice, but as long as I’m receiving security patches, I’m good.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Preferred method to disable upgrade to WP 5.X?’ is closed to new replies.