WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #43316, comment 41


Ignore:
Timestamp:
03/25/2018 12:56:32 AM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43316, comment 41

    initial v1  
    22- Attempt to fix routes.
    33- Fix bug trying to create revision of a revision.
    4 - Fix and Move the logic for creating a significantly different revision when autosaving.
     4- Fix and move the logic for creating a significantly different revision when autosaving.
    55- Also create that revision when overwriting a draft post (most important).
    66- Added the tests from 43316.1.patch.
    77
    88Still TODO/TBD:
    9 - The autosave route can be better? Currently it looks like `/wp/v2/posts/123/autosaves/123` where `123` for both `/posts/` and `/autosaves/` is the actual post_ID and have to match.
     9- The autosave route can be better? Currently it looks like `/wp/v2/posts/123/autosaves/123` where `123` for both `/posts/` and `/autosaves/` is the actual post_ID and has to be the same.
    1010- Moar tests, especially testing the autocreated "significantly different" revision.