Docs: Add missing `@access` tags to methods in `WP_oEmbed_Controller`.
See [34903]. Props ramiy. Fixes #36297. git-svn-id: https://develop.svn.wordpress.org/trunk@37568 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a378749df6
commit
add75910c9
|
@ -20,6 +20,7 @@ final class WP_oEmbed_Controller {
|
||||||
* Register the oEmbed REST API route.
|
* Register the oEmbed REST API route.
|
||||||
*
|
*
|
||||||
* @since 4.4.0
|
* @since 4.4.0
|
||||||
|
* @access public
|
||||||
*/
|
*/
|
||||||
public function register_routes() {
|
public function register_routes() {
|
||||||
/**
|
/**
|
||||||
|
@ -59,6 +60,7 @@ final class WP_oEmbed_Controller {
|
||||||
* Returns the JSON object for the post.
|
* Returns the JSON object for the post.
|
||||||
*
|
*
|
||||||
* @since 4.4.0
|
* @since 4.4.0
|
||||||
|
* @access public
|
||||||
*
|
*
|
||||||
* @param WP_REST_Request $request Full data about the request.
|
* @param WP_REST_Request $request Full data about the request.
|
||||||
* @return WP_Error|array oEmbed response data or WP_Error on failure.
|
* @return WP_Error|array oEmbed response data or WP_Error on failure.
|
||||||
|
|
Loading…
Reference in New Issue