• Resolved LauraE

    (@laurae-1)


    Hello,

    I’m needing to temporarily disable wordpress automatic updates on one of my sites, due to it being moderate to heavily customized using a child theme for the most part. I’m currently working on upgrading the theme (not that it’s that outdated, but need to prepare for new theme version coming out in a few months anyways). I believe there’s a chance when 4.0 is released next week it may break the live site. I’ve cloned the live site for testing WordPress 4.0 for any issues with the theme or plugins. I need to know exactly where in WP-Config file to place this code:

    define( ‘AUTOMATIC_UPDATER_DISABLED’, true );

    Thanks,
    Laura

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    Thread Starter LauraE

    (@laurae-1)

    I’m referencing this documentation…but it doesn’t say exactly where to put the line of code at within the file!

    Moderator t-p

    (@t-p)

    Obviously you missed it.

    The codex I referenced says:

    o completely disable all types of automatic updates, core or otherwise, add the following to your wp-config.php file:
     define( 'AUTOMATIC_UPDATER_DISABLED', true );
    Daniel Kanchev

    (@danielkanchev)

    SiteGround Representative

    Hey Laura,

    You may add the line right after the WP_DEBUG line:

    define('WP_DEBUG', false);

    As a matter of fact it should work if you also add it after the opening PHP tag.

    Thread Starter LauraE

    (@laurae-1)

    Hi Daniel,

    Thanks for directing me where to put the line of code at ?? I just wanted to make sure I added it correctly, and in the proper place, so as to not risk the site getting broke by putting it somewhere it shouldn’t have been..

    Best Regards,
    Laura

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disabling WordPress Automatic Updates..’ is closed to new replies.