Skip to content

Instantly share code, notes, and snippets.

@JackNUMBER
Last active August 29, 2015 14:06
Show Gist options
  • Save JackNUMBER/0f67aa3a2b53986752f6 to your computer and use it in GitHub Desktop.
Save JackNUMBER/0f67aa3a2b53986752f6 to your computer and use it in GitHub Desktop.
[Wordpress] Change revision parameters
<?
/* add one of this lines in WP-config.php (before Auth key) */
/** Define revision number */
define('WP_POST_REVISIONS', 10);
/** Disabled revision */
define('WP_POST_REVISIONS', false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment