Skip to content

Instantly share code, notes, and snippets.

@LucaRosaldi
Last active July 26, 2022 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LucaRosaldi/3ba2fa66428f8cbfda04eb669218a011 to your computer and use it in GitHub Desktop.
Save LucaRosaldi/3ba2fa66428f8cbfda04eb669218a011 to your computer and use it in GitHub Desktop.
WP: wp-config.php additional settings
<?php
/**
* Raise PHP memory limit.
*/
define( 'WP_MEMORY_LIMIT', '256M' );
/**
* Disable revisions, we don’t need them.
*/
define( 'WP_POST_REVISIONS', false );
define( 'AUTOSAVE_INTERVAL', 3600 );
/**
* Clean up old sets when a image is edited.
*/
define( 'IMAGE_EDIT_OVERWRITE', true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment