WordPress Disable Auto Update

Auto Update

WordPress auto update have always been enable since WordPress 5.6. Sometime admin need to double check those theme and plugins are compatible with latest WordPress, they don’t need an auto update.

Add snippet below into config.php to disable all automatic updates.

define( 'AUTOMATIC_UPDATER_DISABLED', true );

WordPress Disable Auto Update

Please do hesitate to contact me if you found out any mistake or typo.

WordPress Change Revisions Limit

WordPress Post Revisions

Too much post revisions will increase the WordPress database storage. Revisions are full copies of the post. If want to decrease the database size, limit the how many revisions should be saved is a good option.

Add the code below in config.php

define( 'WP_POST_REVISIONS', 3 ); //Only 3 post revisions will be stored

Old version of revision will be deleted once the post is updated again.

WordPress Change Revisions Limit

Please do hesitate to contact me if you found out any mistake or typo.