Make WordPress Core

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


Ignore:
Timestamp:
03/30/2018 04:55:40 PM (7 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43316, comment 55

    initial v1  
    22> I still recommend looking at the '''concept''' you want to model, not how its data happens to be stored.
    33
    4 I agree. The concept is that a post is being saved and a revision is being (auto)created. The only difference between a `save` and an `autosave` if that the latter employs additional server logic when creating the revision.
     4I agree. The concept is that a post is being saved and a revision is being (auto)created. The only difference between a `save` and an `autosave` is that the latter employs additional server logic when creating the revision.
    55
    66> Putting two models into the same endpoint because their data happens to be saved in the same way...