Skip to content

Instantly share code, notes, and snippets.

@mikeoberdick
Created August 22, 2016 12:21
Show Gist options
  • Save mikeoberdick/ea890b51966b0b21d314373c4fb19db0 to your computer and use it in GitHub Desktop.
Save mikeoberdick/ea890b51966b0b21d314373c4fb19db0 to your computer and use it in GitHub Desktop.
Sample wp-config file
/** Set Post Revisions to 10 **/
define('WP_POST_REVISIONS', 10);
/** Disable the File Editor in Dashboard */
define('DISALLOW_FILE_EDIT', true);
/** Update the Auto Save to 2 hours */
define('AUTOSAVE_INTERVAL', 7200); //seconds
/** Update PHP Memory Limit */
define('WP_MEMORY_LIMIT', '96M');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment