Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add recommended default WP config settings, thanks to Steven Watts
  • Loading branch information
simonrjones committed Dec 19, 2018
1 parent fadeab4 commit 3028528
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
20 changes: 19 additions & 1 deletion wp-config.default.php
Expand Up @@ -59,7 +59,25 @@
*/
define('WPLANG', '');


// Recommended WP config settings, uncomment to use these

/**
* Increase memory limit.
*/
define('WP_MEMORY_LIMIT', '64M');
//define('WP_MEMORY_LIMIT', '64M');

/**
* Limit post revisions.
*/
//define('WP_POST_REVISIONS', 5);

/**
* Disable automatic updates.
*/
//define( 'AUTOMATIC_UPDATER_DISABLED', true );

/**
* Disable file editor.
*/
//define( 'DISALLOW_FILE_EDIT', true );
8 changes: 8 additions & 0 deletions wp-config.production.php
Expand Up @@ -29,3 +29,11 @@
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define('WP_DEBUG', false);


// Recommended WP config settings, uncomment to use these

/**
* Disable theme/plugin upload.
*/
//define( 'DISALLOW_FILE_MODS', true );
8 changes: 8 additions & 0 deletions wp-config.staging.php
Expand Up @@ -29,3 +29,11 @@
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define('WP_DEBUG', false);


// Recommended WP config settings, uncomment to use these

/**
* Disable theme/plugin upload.
*/
//define( 'DISALLOW_FILE_MODS', true );

0 comments on commit 3028528

Please sign in to comment.