WordPress.org

Make WordPress Core

Ticket #24136: 24136.diff

File 24136.diff, 574 bytes (added by westi, 5 years ago)

Simple patch which seems to fix the issue.

  • wp-admin/js/revisions.js

     
    212212                        var self = this;
    213213                        self.startRightModelLoading();
    214214                        self.rightHandleRevisions = new Revisions( {}, {
    215                                 'compareTo': self.revisions.at( self.leftDiff ).get( 'ID' ) - 1,
     215                                'compareTo': self.revisions.at( self.leftDiff - 1 ).get( 'ID' ),
    216216                                'showAutosaves': self.autosaves,
    217217                                'showSplitView': self.showSplitView,
    218218                                'leftHandleAt': self.leftDiff