[wp-trac] [WordPress Trac] #26577: Unable to compare post with single revision

WordPress Trac noreply at wordpress.org
Mon Jan 6 18:17:12 UTC 2014


#26577: Unable to compare post with single revision
--------------------------+------------------------------
 Reporter:  bamadesigner  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Revisions     |     Version:  3.6
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by devesine):

 * keywords:   => has-patch


Comment:

 This is a slightly difficult situation, because in the situation where an
 auto-draft has been created, saving the post in the admin for the first
 time will create a revision - but if the post is created without an auto-
 draft (being created automatically by some means, or simply being created
 too quickly for the auto-draft functionality to kick in), the first change
 to the post will also create the first revision - which will then cause
 the revision UI not to display, despite the fact that there is a revision
 available.

 (This also happens if you restrict the number of revisions to 1, it
 appears.)

 My personal feeling (since I ran into this situation with the revision UI
 not displaying despite a revision being present) is that it's slightly
 better, absent a more subtle handling of auto-draft to real post causing
 revisions, to display the revision UI if there are any revisions at all,
 not just more than one; attached patch does so.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26577#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list