Permalink
Show file tree
Hide file tree
101 changes: 60 additions & 41 deletions
101
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
6 changes: 6 additions & 0 deletions
6
wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
6 changes: 6 additions & 0 deletions
6
wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php
86 changes: 62 additions & 24 deletions
86
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
REST API: Unify object access handling for simplicity.
Rather than repeating ourselves, unifying the access into a single method keeps everything tidy. While we're at it, add in additional schema handling for common parameters. See #38792. Built from https://develop.svn.wordpress.org/trunk@39954 git-svn-id: http://core.svn.wordpress.org/trunk@39891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Loading branch information
Showing
10 changed files
with
353 additions
and
149 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
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
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
Oops, something went wrong.