How to disable automatic updates in WordPress?

BillEssley

Well-known member
Joined
Feb 19, 2013
Messages
309
Best answers
2
Ratings
26
Points
28
#1
All my websites are using Wordpress but I don't like the feature auto updates in Wordpress because some my plugins can not work with new version of Wordpress, I need to make sure that we will work with new version before updating to new version. Does any one know how to Disable Automatic Updates in WordPress?
 

Localnode

Moderator
Staff Member
Joined
Dec 15, 2015
Messages
273
Best answers
1
Ratings
84 2
Points
28
#2
You can disable automatic updates in WordPress by adding this line of code in your wp-config.php file:
Code:
define( 'WP_AUTO_UPDATE_CORE', false );
This will disable all automatic WordPress updates.
 

Localnode

Moderator
Staff Member
Joined
Dec 15, 2015
Messages
273
Best answers
1
Ratings
84 2
Points
28
#4

BillEssley

Well-known member
Joined
Feb 19, 2013
Messages
309
Best answers
2
Ratings
26
Points
28
#7
BillEssley
I added the command define( 'WP_AUTO_UPDATE_CORE', false ); to wp-config.php after define('WPLANG', '');

but I'm still seeing this notice there, I don't know automatic WP update is disabled or not

wordpress 5.0 update.jpg

I found this command and added it to functions.php in theme folder and it worked as required.

Code:
// Hide the "Please update Wordpress now" notification
function hide_update_notice() {
   remove_action( 'admin_notices', 'update_nag', 3 );
}
add_action( 'admin_notices', 'hide_update_notice', 1 );
 

paidboom

New member
Joined
Nov 30, 2018
Messages
13
Best answers
0
Ratings
2
Points
3
#5
Joined
Aug 31, 2018
Messages
186
Best answers
1
Ratings
49 3
Points
28
#6
All my websites are using Wordpress but I don't like the feature auto updates in Wordpress because some my plugins can not work with new version of Wordpress, I need to make sure that we will work with new version before updating to new version. Does any one know how to Disable Automatic Updates in WordPress?
Hi I would actually consider finding alternative plugins because not staying updated on WordPress can be very risky maybe i can help find alternatives for you
 

paidboom

New member
Joined
Nov 30, 2018
Messages
13
Best answers
0
Ratings
2
Points
3
#10
I added the command define( 'WP_AUTO_UPDATE_CORE', false ); to wp-config.php after define('WPLANG', '');
but I'm still seeing this notice there, I don't know automatic WP update is disabled or not
View attachment 2706
I found this command and added it to functions.php in theme folder and it worked as required.
Code:
// Hide the "Please update Wordpress now" notification
function hide_update_notice() {
   remove_action( 'admin_notices', 'update_nag', 3 );
}
add_action( 'admin_notices', 'hide_update_notice', 1 );
I'm still seeing this notice there, I don't know automatic WP update is disabled or not
You need to update your WordPress to 5.0
It isn't upgraded automatically which does mean auto upgrade has been disabled.

also note, WordPress 5.0 may break your site. take a backup and update plugins and themes before pushing WordPress upgrade.
 
Joined
Apr 18, 2017
Messages
35
Best answers
0
Ratings
10 1
Points
8
#12
Hi, BillEssley!
If you allow me, I have to mention that automatic updates in WordPress concern only tech releases which mission is to fix some critical WordPress bugs and vulnerabilities. It is not safe and not recommended to skip such updates. You are the exception if you use any tools to deploy projects to remote servers, such as Capistrano or SaltStack, or you may be using a version control system.
Then to completely disable the automatic updates you can try using the following constant in your wp-config.php file.

define( 'AUTOMATIC_UPDATER_DISABLED', true );

Please note that with this directive, you will also disable automatic updates of language packs, themes and plugins, if enabled.
With the command WP_AUTO_UPDATE_CORE, you can control the automatic update of the WordPress core, e.g.

add_filter( 'auto_update_core', '__return_false' );

By default, WordPress will not automatically update your themes and plugins, but this can be easily changed using the auto_update_theme and auto_update_plugin filters:

/**
* Plugin Name: Auto-update Plugins and Themes
*/
add_filter( 'auto_update_theme', '__return_true' );
add_filter( 'auto_update_plugin', '__return_true' );

P.S. I advise you not to add commands to functions.php, because it does not give you any advantages, and this file will no longer be executed if you suddenly decide to change the theme of your site.
 

cheapestwebhosting

Well-known member
Joined
Mar 1, 2018
Messages
91
Best answers
0
Ratings
6 1
Points
8
#14
All my websites are using Wordpress but I don't like the feature auto updates in Wordpress because some my plugins can not work with new version of Wordpress, I need to make sure that we will work with new version before updating to new version. Does any one know how to Disable Automatic Updates in WordPress?
for security its not good practice, your website might hacked someday
better have good backup periodically

btw what is the plugin? maybe there is a way to still update the wp while still using the plugin
 

bountysite

Corporate Member
Corporate Member
Joined
Oct 11, 2017
Messages
48
Best answers
0
Ratings
22
Points
8
#17
You need to get help from plugin developer, to get support for latest wordpress version. You cannot run old version of wordpress for long.
Always have a remote backup.
 
Recommended Threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top