You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this has been discussed before, but I couldn't find anything.
I know core does this when calling wp_update_post(), but for this API it seems a bit unexpected. IMHO it should be up to the application to create revisions.
Imagine an application wants saves quite often between user edits (à la Google Docs), the amount of revisions grows quickly and it becomes hard to see the differences between them as there are many with just a small edit. Maybe instead the application wants to group smaller edits into one revision or group them by session, but that's not possible at the moment.
Not sure if this has been discussed before, but I couldn't find anything.
I know core does this when calling
wp_update_post(), but for this API it seems a bit unexpected. IMHO it should be up to the application to create revisions.Imagine an application wants saves quite often between user edits (à la Google Docs), the amount of revisions grows quickly and it becomes hard to see the differences between them as there are many with just a small edit. Maybe instead the application wants to group smaller edits into one revision or group them by session, but that's not possible at the moment.
Would love to see some discussion around this. :)