WordPress Automatic Update

The night passed quietly, spammers do not bother :). Although they may be our Christmas celebrated? Although for the time attack they should be Catholics or atheists. Yet the night presented a surprise.

It turns out that without my knowledge WordPress updated. And if I made a modification to their files, as it is done for plugins and themes? Not good. And though I knew beforehand that it was better in the core of a site not to go, because, in contrast to the plug-ins, it is updated periodically, I was going to, but still need to investigate the matter.

That kind of information the Internet provides:

Auto-update of WordPress was introduced in version 3.7.
But it works only for industrial releases and security patches that cover hole. This is the default, and is not advised to change these settings.

If you do not want amateur site in your absence, then there are ways to change that.

# Disable all the updates:
define (‘WP_AUTO_UPDATE_CORE’, false);

# Enable all updates, including basic and intermediate versions (4.3 to 4.4, 4.5, etc.):
define (‘WP_AUTO_UPDATE_CORE’, true);

# Enable only the intermediate update versions (4.4 to 4.4.1, 4.2.2, and so on – by default):
define (‘WP_AUTO_UPDATE_CORE’, ‘minor’);

# Disable all updates, including basic and intermediate versions:

But it’s all just in case, still I will try not to change the core of WordPress, it’s better with the help of plug-ins to do it.

Leave a Reply