[wp-trac] [WordPress Trac] #22289: Filter to override WP_POST_REVISIONS (or define it later)

WordPress Trac noreply at wordpress.org
Fri Oct 26 16:38:49 UTC 2012


#22289: Filter to override WP_POST_REVISIONS (or define it later)
-----------------------------+-------------------------
 Reporter:  batmoo           |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Revisions
  Version:  3.4.2            |   Severity:  normal
 Keywords:                   |
-----------------------------+-------------------------
 We currently have the {{{WP_POST_REVISIONS}}} constant which allows you to
 disable or set the number of revisions allowed. This is great but doesn't
 easily allow a per-blog setting on a multisite install.

 Two possible options:

 * A new filter to override the value defined in the constant.
 * Define the constant later so that plugins/themes can override it based
 on the current blog context.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22289>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list