-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REST API: Switch away from using
parent
as the path argument name (#…
…11914) When `parent` is set as the path argument name, it gets passed down through to the `create_item()` method and can erroneously reset the `parent` value on the post itself. Also ensures revision query params aren't exposed as the query params for autosaves. Originally https://core.trac.wordpress.org/attachment/ticket/43316/43316.24.diff
- Loading branch information
1 parent
5f44a42
commit ad70868
Showing
2 changed files
with
127 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters