WordPress.org

Make WordPress Core

Ticket #13975: default_revisions.diff

File default_revisions.diff, 399 bytes (added by scribu, 8 years ago)
  • wp-includes/default-constants.php

     
    262262                define( 'EMPTY_TRASH_DAYS', 30 );
    263263
    264264        if ( !defined('WP_POST_REVISIONS') )
    265                 define('WP_POST_REVISIONS', true);
     265                define('WP_POST_REVISIONS', 30);
    266266}
    267267
    268268/**