Wordpress 4.6
[autoinstalls/wordpress.git] / wp-includes / class-wp-oembed-controller.php
index dbb4e3e91b3be8ea5d56e73812cfdc778e18a8c2..13fed836e6ed7a844e94bc97e0333210a532e1e5 100644 (file)
@@ -20,10 +20,11 @@ final class WP_oEmbed_Controller {
         * Register the oEmbed REST API route.
         *
         * @since 4.4.0
+        * @access public
         */
        public function register_routes() {
                /**
-                * Filter the maxwidth oEmbed parameter.
+                * Filters the maxwidth oEmbed parameter.
                 *
                 * @since 4.4.0
                 *
@@ -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.
@@ -67,7 +69,7 @@ final class WP_oEmbed_Controller {
                $post_id = url_to_postid( $request['url'] );
 
                /**
-                * Filter the determined post ID.
+                * Filters the determined post ID.
                 *
                 * @since 4.4.0
                 *