• SamAshford

    (@samashford)


    Hi there,

    My WordPress site keeps automatically updating to version 5.2.5. This happens every day at around 6:48pm GMT. The issue is it breaks the Media page in the admin section so I can’t upload images. Every time it updates I have to load a backup manually, I overwrite all the files and database to put it back to how it was before the update.

    To try and stop it auto updating I have added the line below to wp-config.php
    define( ‘automatic_updater_disabled’, true );

    and have added the lines below to the functions.php
    add_filter( ‘auto_update_plugin’, ‘__return_false’ );
    add_filter( ‘auto_update_theme’, ‘__return_false’ );

    It still keeps auto updating every day, how do I stop it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • MarkRH

    (@markrh)

    In your wp-config.php file, add the following:

    define( 'AUTOMATIC_UPDATER_DISABLED', true );

    That will disable the automatic updating of everything. You mention you’ve done this but in case the variable is case sensitive, might make sure it is in CAPS.

    Thread Starter SamAshford

    (@samashford)

    Thanks MarkRH, I have made the changes suggested. Hopefully that should have resolved it then I will check it again tommorow ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do you stop minor WordPress updates?’ is closed to new replies.