Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
REST API: Avoid resetting parent field in draft update #11513
This pull request seeks to resolve an issue where if a draft page is assigned a parent, the parent will become unset the next time an autosave occurs. This occurs because while the revision's parent is typically assigned to the post for which the revision is to be created, in this flow a revision is not created and instead the post itself is updated.
Verify that an autosave for a page assigned a parent does not
Verify there are no other regressions in the behavior of autosave.
Ensure tests pass:
Needs Trac ticket / patch for core 5.0 branch if deemed an appropriate solution.
referenced this pull request
Nov 5, 2018
@aduth What do you think about:
I'd be fine to only fix the PHP issues in trunk, and have that conversation on the Trac ticket.
Removing the "Fixes" signal, since the issue described in #10753 will still persist until the backend stops considering the