Topic: Security / Wordpress

WP-Config

//limit post revisions
define( 'WP_POST_REVISIONS', 3 );

//remove file editing ability WordPress backend
define( 'DISALLOW_FILE_EDIT', true );

//For debugging.  
// Credit to CSS Tricks https://css-tricks.com/snippets/wordpress/turn-on-wordpress-error-reporting/
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);