Auto Updates disabled…. yet sites still updated to 6.5 automatically??!?!?!?

[ad_1]

***The solution to both of my questions was to add the following code at the bottom of WP-Config or in an mu-plugin:***

add_filter( ‘auto_update_plugin’, ‘__return_false’ );
add_filter( ‘auto_update_theme’, ‘__return_false’ );
add_filter( ‘automatic_updater_disabled’, ‘__return_true’ );

—–

Original Post:

The web hosting providers who my clients websites are with all have disabled their server level flags and scripts that force the auto updates for us.

Also, I’ve been developing and managing highly custom websites for 17 years. All of the websites that use the code I mention in this post have had that code to disable automatic updates which is available on [Make.WordPress.org](https://Make.WordPress.org) for over 5 years and have not auto update once until the WP 6.5 update was released when the code did not stop the sites from auto updating.

With all of that said, 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 (the sites using the code below are all small business websites with CRM integrations and some other custom plugins)

define( ‘WP_AUTO_UPDATE_CORE’, ‘minor’ );
define( ‘automatic_updater_disabled’, true );
define( ‘DISALLOW_FILE_EDIT’, true );

Do I understand correctly after reviewing [this](https://make.wordpress.org/core/2013/09/24/automatic-core-updates/) article over on [Make.WordPress.org](http://make.wordpress.org/) 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?

Also, is there a way to stop ALL updates, not just core updates in wp-config.php?

[ad_2]
4 Comments
  1. “You guys are all being dicks and not even attempting to answer my questions.”

    All of us answered it in your original post. And you will get the same answers here in this post.

    You are doing what needs to be done in your wp-config.php.. NOW you need to make sure your hosting companies turn off their updater scripts.

    Also… most people won’t bother with you, considering you think everyone who posts information you don’t think is releavant are “dicks”.

  2. A number of hosts use a symlinked core, and auto update of core cannot be disabled. what host are you using OP?

  3. Going back in your history here shows you’ve pulled this same “I know better than everyone else, but am going to ask a question on Reddit and disagree with everyone” multiple times.

    Good luck to you, and god-forbid any client you manage a website for.

  4. use in WP-Admin to disable updates

    “that is not how I do things since my clients pay me for tech support and expect that I will run the updates manually after running a manual backup.” – You still can. Most updates are delayed a few days in case they get revoked. If you are going in there, you can manually update they ahead of schedule as well. I understand about being upset about a major version update but as you saw, it’s configured with those three wp-config update flags.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer