Make WordPress Core

Changeset 53139


Ignore:
Timestamp:
04/11/2022 03:35:56 PM (4 years ago)
Author:
gziolo
Message:

REST API: Fix the wrong name in the comments controller

It should be embeddable not embedded.
Follow-up [53138].

Props timothyblynjacobs.
See #55505.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php

    r53138 r53139  
    11971197
    11981198                        $links['children'] = array(
    1199                                 'href'     => $rest_url,
    1200                                 'embedded' => true,
     1199                                'href'       => $rest_url,
     1200                                'embeddable' => true,
    12011201                        );
    12021202                }
Note: See TracChangeset for help on using the changeset viewer.