WordPress.org

Make WordPress Core

Ticket #44287: 43438.2.diff

File 43438.2.diff, 888 bytes (added by danielbachhuber, 3 years ago)
  • src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php

    diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
    index 43a00d660a..c1cc4be2c4 100644
    a b class WP_REST_Posts_Controller extends WP_REST_Controller { 
    17571757        /**
    17581758         * Get the link relations available for the post and current user.
    17591759         *
    1760          * @since 4.9.7
     1760         * @since 4.9.8
    17611761         *
    17621762         * @param WP_Post $post Post object.
    17631763         * @param WP_REST_Request Request object.
    class WP_REST_Posts_Controller extends WP_REST_Controller { 
    21602160        /**
    21612161         * Retrieve Link Description Objects that should be added to the Schema for the posts collection.
    21622162         *
    2163          * @since 4.9.7
     2163         * @since 4.9.8
    21642164         *
    21652165         * @return array
    21662166         */