Created
January 27, 2015 20:03
-
-
Save jester1979/b055b6fa3bf0678b7170 to your computer and use it in GitHub Desktop.
Some extra wp-config.php defines
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define( 'WP_POST_REVISIONS', 3 ); // 3 revisions should be enough, use "false" to deactivate post revisions | |
define( 'AUTOSAVE_INTERVAL', 300 ); // seconds, increase to something like "9999" to `disable` autosave | |
define( 'EMPTY_TRASH_DAYS', 7 ); // empty trash for files longer than a week in trash, use "0" to completely deactivate trash, WP standard is 30 days | |
define( 'CORE_UPGRADE_SKIP_NEW_BUNDLED', true ); // skip the wp-content directory while updating, because we don't use the default themes | |
define( 'DISALLOW_FILE_EDIT', true ); // disable file editing in the backend | |
define( 'WP_DEFAULT_THEME', 'genesis' ); //On install use this theme instead of WordPress default theme | |
// remove header information about php version | |
header_remove( 'X-Powered-By' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment