[wp-trac] [WordPress Trac] #23497: Revisions Rewrite using JS/Backbone

WordPress Trac noreply at wordpress.org
Thu Mar 28 21:06:14 UTC 2013


#23497: Revisions Rewrite using JS/Backbone
---------------------------------------+------------------------
 Reporter:  adamsilverstein            |       Owner:  westi
     Type:  enhancement                |      Status:  reviewing
 Priority:  normal                     |   Milestone:  3.6
Component:  Revisions                  |     Version:  3.5.1
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |
---------------------------------------+------------------------

Comment (by azaozz):

 Replying to [comment:135 adamsilverstein]:
 > the latest commit from 16215 introduced an issue where the initial
 revisions with title only/blank content were not being created.

 Thinking that when a post was published from QuickPress or PressThis,
 there is no such revision either so some existing posts will not have
 them. These revisions were only created from the New Post screen and (as
 far as I remember) were discussed as not needed/bugs at some point.

 If we have to keep making these empty revisions, the return of
 `add_action( 'pre_post_update', 'wp_save_post_revision' )` in
 23497.42.diff would need to make sure this runs only the very first time a
 past is saved. This also means we will have a minimum of 3 rows in the DB
 for each post, whether it's ever edited or not.

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


More information about the wp-trac mailing list