Docs: Add missing @access tags to methods in WP_oEmbed_Controller.
See [34903]. Props ramiy. Fixes #36297. Built from https://develop.svn.wordpress.org/trunk@37568 git-svn-id: http://core.svn.wordpress.org/trunk@37536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -20,6 +20,7 @@ final class WP_oEmbed_Controller {
|
||||
* Register the oEmbed REST API route.
|
||||
*
|
||||
* @since 4.4.0
|
||||
* @access public
|
||||
*/
|
||||
public function register_routes() {
|
||||
/**
|
||||
@@ -59,6 +60,7 @@ final class WP_oEmbed_Controller {
|
||||
* Returns the JSON object for the post.
|
||||
*
|
||||
* @since 4.4.0
|
||||
* @access public
|
||||
*
|
||||
* @param WP_REST_Request $request Full data about the request.
|
||||
* @return WP_Error|array oEmbed response data or WP_Error on failure.
|
||||
|
||||
Reference in New Issue
Block a user