[wp-trac] Re: [WordPress Trac] #6775: Post Revisions

WordPress Trac wp-trac at lists.automattic.com
Fri May 23 00:01:36 GMT 2008


#6775: Post Revisions
------------------------------------------------------+---------------------
 Reporter:  mdawaffe                                  |        Owner:  mdawaffe
     Type:  enhancement                               |       Status:  assigned
 Priority:  normal                                    |    Milestone:  2.6     
Component:  General                                   |      Version:  2.5.1   
 Severity:  normal                                    |   Resolution:          
 Keywords:  revision needs-testing has-patch blessed  |  
------------------------------------------------------+---------------------
Comment (by mdawaffe):

 6775.6.diff

  1. Allow {{{get_posts()}}} args to be passed to
 {{{wp_get_post_revisions()}}}.
  2. {{{WP_POST_REVISIONS}}} can be
    * true (default), -1:  Save all revisions.
    * false, 0: Save no revisions. Only do autosave.
    * (int) > 0: Only save that # of revisions + 1 autosave.  ''Older
 revisions are deleted''.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6775#comment:29>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list