[wp-trac] [WordPress Trac] #11324: Are Revisions Always Necessary?

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 4 19:00:16 UTC 2009


#11324: Are Revisions Always Necessary?
-------------------------+--------------------------------------------------
 Reporter:  miqrogroove  |       Owner:             
     Type:  enhancement  |      Status:  new        
 Priority:  normal       |   Milestone:  3.0        
Component:  Revisions    |     Version:  2.8.4      
 Severity:  normal       |    Keywords:  needs-patch
-------------------------+--------------------------------------------------
Changes (by scribu):

  * keywords:  => needs-patch


Comment:

 I suppose something like below would do the trick:

 {{{
 if ( $old_content == $new_content && $old_title == $new_title )
   // skip adding a new revision
 }}}

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


More information about the wp-trac mailing list