WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16215, comment 35


Ignore:
Timestamp:
03/06/2013 04:38:01 AM (5 years ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16215, comment 35

    initial v1  
    11note:  the current save revisions  code compares the passed data to the current post data and if there is no change doesn't store a revision (see #7392 and #9843). 16215.2.diff​ would break that. if we are storing the revision after the post is updated we need a different way to check for changes. i will work on that.
    22
    3 can we consider at fixing existing data during an upgrade instead of on the fly?
    4 
    5 also: for testing this patch, its hard to see the issue until you restore a revision and get the wrong one. the current list of revisions _looks_ right before and after the patch, but restoring a previous revisions demonstrates the mis-match.
    6 
     3existing method may be just fine, see below