• Resolved +ES

    (@evelynmsdesigngraphicscom)


    Hello+
    I’m not certain this is the correct forum… Here’s my question:

    What is the difference when adding the 2 codes (below) to wp-config.php file?

    Code Version 1:
    define( ‘WP_AUTO_UPDATE_CORE’, false );

    Code Version 2:
    define( ‘AUTOMATIC_UPDATER_DISABLED’, true );

    1. Do these two codes accomplish the exact same result?
    2. Can both be in the wp-config.php file and not “mess” anything up?
    3. Do I need both versions?

    I understand the importance of updating the WordPress Platform when new updates come out, I just don’t want it to happen automatically. I need to be certain that the site is fully backed up prior to the platform update.

    I was using version 2, then when 4.5.3 came it – my site automatically updated! (Fortunately, there were no issues reported by the end-users but I need to be able to control when that update actually takes place.)

    Any advise would be greatly appreciated. Thanks! +ES

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    define( 'WP_AUTO_UPDATE_CORE', false );

    Development, minor, and major core updates are all disabled, core only.

    define( 'AUTOMATIC_UPDATER_DISABLED', true );

    All core, plugin, and theme updates are disabled. (plugin/theme auto-updates have not implemented yet, but this will disable them once/if they are)

    I recommend only using one, the difference is between disabling only core updates with 'WP_AUTO_UPDATE_CORE', false or all updates with 'AUTOMATIC_UPDATER_DISABLED', true

    One thing to note though, this only affects WordPress’s auto-update system. If your hosting provider is forcing updates themselves, and many do these days, this won’t stop them because all they do is replace the core WordPress files across all accounts on your server via their own automated process.

    For more info, see https://codex.www.ads-software.com/Configuring_Automatic_Background_Updates

    Thread Starter +ES

    (@evelynmsdesigngraphicscom)

    Hello+

    Thank you very much for the clarifications!

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Difference in Auto Update WordPress Codes?’ is closed to new replies.