To set post revision limit put this code at the end of wp-config file. We set 3 here to set limit 3 times. you can use false to deactivate post revision
/**
* WordPress post revisions
* Number / true / false
*/
define( 'WP_POST_REVISIONS', 3);
When you developing a WordPress site you may need to show PHP debug on so you can check if there is an error on your code. To active PHP debug put the one line code on wp-config.php file on your home directory.
/**
* php Debug troggle
* true / false
*/
define( 'WP_POST_REVISIONS', true );
It recommended checking the wp-config file if that code already exists, you can just modify that. Before go on production mood make wp_debug – false.
If you face load-scripts.php problem put the code on wp-config file
/**
* load-scripts.php problem fix
*/
define( 'CONCATENATE_SCRIPTS', false );