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

WordPress Trac noreply at wordpress.org
Thu Feb 21 16:46:30 UTC 2013


#22289: Filter to override WP_POST_REVISIONS (or define it later)
-----------------------------------+--------------------
 Reporter:  batmoo                 |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  3.6
Component:  Revisions              |     Version:  3.4.2
 Severity:  normal                 |  Resolution:
 Keywords:  westi-likes has-patch  |
-----------------------------------+--------------------

Comment (by ethitter):

 Freshed the patch per @nacin's suggestions in
 [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2013-02-21&sort=asc#m560640 IRC].

 Now, the entire post object is available to the filter, and `-1` is used
 to indicate an unlimited number of revisions should be kept.

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


More information about the wp-trac mailing list