// Prevent access to the online editor for theme and plugin code
define('DISALLOW_FILE_EDIT', true);
// Forces SSL login for Admin area
define( 'FORCE_SSL_LOGIN', true );
define( 'FORCE_SSL_ADMIN', true );
// Allow automatic updates to wordpress and plugins
define( 'WP_AUTO_UPDATE_CORE', true );
add_filter( 'auto_update_plugin', '__return_true' );
// Changes the default uploads directory from ‘uploads’ to ‘media’
define( 'UPLOADS', 'wp-content/media' );
// Restricts the amount of post revisions to 20, to reduce database bloat from trigger-happy editors
define( 'WP_POST_REVISIONS', 20 );