Make WordPress Core

Ticket #63218: search-result.patch

File search-result.patch, 743 bytes (added by jigar bhanushali, 19 months ago)
  • src/wp-includes/rest-api/search/class-wp-rest-post-format-search-handler.php

    diff --git a/src/wp-includes/rest-api/search/class-wp-rest-post-format-search-handler.php b/src/wp-includes/rest-api/search/class-wp-rest-post-format-search-handler.php
    index 825a87a917..67633a6662 100644
    a b class WP_REST_Post_Format_Search_Handler extends WP_REST_Search_Handler {  
    100100         *     @type string $title Optional. Post format name.
    101101         *     @type string $url   Optional. Post format permalink URL.
    102102         *     @type string $type  Optional. String 'post-format'.
    103          *}
     103         * }
    104104         */
    105105        public function prepare_item( $id, array $fields ) {
    106106                $data = array();