Wordpress 4.6
[autoinstalls/wordpress.git] / wp-includes / rest-api / class-wp-rest-response.php
index 4acc8b634d77bdd56a681cfd666bda2ff02e0a18..65ae87251f04fcc2ae9d975cb0cc59219f684b07 100644 (file)
@@ -51,8 +51,8 @@ class WP_REST_Response extends WP_HTTP_Response {
         * @since 4.4.0
         * @access public
         *
-        * @link http://tools.ietf.org/html/rfc5988
-        * @link http://www.iana.org/assignments/link-relations/link-relations.xml
+        * @link https://tools.ietf.org/html/rfc5988
+        * @link https://www.iana.org/assignments/link-relations/link-relations.xml
         *
         * @param string $rel        Link relation. Either an IANA registered type,
         *                           or an absolute URL.
@@ -147,8 +147,8 @@ class WP_REST_Response extends WP_HTTP_Response {
         * @since 4.4.0
         * @access public
         *
-        * @link http://tools.ietf.org/html/rfc5988
-        * @link http://www.iana.org/assignments/link-relations/link-relations.xml
+        * @link https://tools.ietf.org/html/rfc5988
+        * @link https://www.iana.org/assignments/link-relations/link-relations.xml
         *
         * @param string $rel   Link relation. Either an IANA registered type, or an absolute URL.
         * @param string $link  Target IRI for the link.
@@ -275,7 +275,7 @@ class WP_REST_Response extends WP_HTTP_Response {
                );
 
                /**
-                * Filter extra CURIEs available on API responses.
+                * Filters extra CURIEs available on API responses.
                 *
                 * CURIEs allow a shortened version of URI relations. This allows a more
                 * usable form for custom relations than using the full URI. These work
@@ -293,7 +293,7 @@ class WP_REST_Response extends WP_HTTP_Response {
                 *
                 * Well-behaved clients should expand and normalise these back to their
                 * full URI relation, however some naive clients may not resolve these
-                * correctly, so adding new CURIEs may break backwards compatibility.
+                * correctly, so adding new CURIEs may break backward compatibility.
                 *
                 * @since 4.5.0
                 *