Last update at :2024-06-23,Edit by888u
If we have netizens who use the WordPress program, we must know that WP is one of the free and open source CMS programs with rich functions, themes and plug-ins, and it has always maintained a relatively high frequency of upgrades. Sometimes we can even see two version upgrades a month. For us users, we must keep updated after each upgrade of the program, so as to ensure the integrity and security of the functions.
I guess WordPress officials are embarrassed to let users upgrade the program by themselves every time, so they automatically added the automatic upgrade and update function after version 3.7. If a new version appears, it will automatically update in the background by default and then send an email to The administrator informed that it has been updated. It is definitely convenient from a functional perspective, but many friends like to update themselves proactively, because some customized programs have set up many functions themselves and will be reset if they are automatically updated.
Also, there have been new versions in the past that may be incompatible with the current environment and plug-ins, and you cannot upgrade the new version at will, so we can pause the automatic upgrade function, but keep the background reminder to notify you of a new version, so that there are new After the version comes out, we can choose to upgrade manually.
define( \\’AUTOMATIC_UPDATER_DISABLED\\’, true );
Add the above script to the wp-config.php file in the root directory of the current WP program so that it will not be automatically updated.
add_filter( \\’automatic_updater_disabled\\’, \\’__return_true\\’ );
Alternatively, we add the above script in the functions.php file of the current theme, which has the same effect.
Recommended site searches: top ten server brands, rental servers, independent IP virtual hosts, Taiwan host, website registration information, independent IP space, latest domain name query, foreign servers, Ministry of Industry and Information Technology registration, overseas servers,
发表评论