• Resolved Davood Denavi

    (@binarywc)


    I am a website developer and I manage many websites where I have disabled auto updates. However, the update to WordPress 6.5 was still done automatically. So this has led me to wonder what happened that caused this.

    Some of the websites have this code in wp-config.php
    define( 'AUTO_UPDATER_DISABLED', true );

    While others have this code in wp-config.php;
    define( 'WP_AUTO_UPDATE_CORE', 'minor' );
    define( 'automatic_updater_disabled', true );
    define( 'DISALLOW_FILE_EDIT', true );

    Do I understand correctly after reviewing this article over on Make.www.remarpro.com that changing
    define( 'automatic_updater_disabled', true ); and define( 'AUTO_UPDATER_DISABLED', true );
    to define( 'auto_update_core', false);
    will stop the sites I manage from auto updating in the future?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @binarywc,

    add code in config.php

    define( 'WP_AUTO_UPDATE_CORE', false );

    After putting this code it will not able to automatic updated wordpress

    Thread Starter Davood Denavi

    (@binarywc)

    Thank you for the info @ailankola.

    However, we want to disable ALL updates not just core… that is why we using the code I shared in my original post… so please answer my original question.

    Thanks in advance.

    Hi guys,

    I have exactly the same problem and after adding

    define( ‘WP_AUTO_UPDATE_CORE’, false );

    I still see that my sites are updated after some time to 6.5

    Any other solution to disable automatic updates?

    Thanks

    Thread Starter Davood Denavi

    (@binarywc)

    Hi all, any help would be greatly appreciated. I need to know how to disable ALL auto updates, not just core. Also, as @tanusev said this code:

    define( ‘WP_AUTO_UPDATE_CORE’, false );

    Still allowed the updates to run when 6.5 came out. Is there a way to disable ALL updates of WP, themes, and plugins in wp-config.php?

    Thank you in advance.

    Thread Starter Davood Denavi

    (@binarywc)

    @tanusev

    I added this code at the very bottom of wp-config file and the 5.2 update did not run.

    add_filter(?'auto_update_plugin',?'__return_false'?);
    add_filter(?'auto_update_theme',?'__return_false'?);
    add_filter(?'automatic_updater_disabled',?'__return_true'?);

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Auto Updates Disabled….’ is closed to new replies.