[wp-trac] [WordPress Trac] #53908: REST API changes

WordPress Trac noreply at wordpress.org
Tue Aug 10 14:23:01 UTC 2021


#53908: REST API changes
--------------------------+----------------------
 Reporter:  avcsdigital   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  REST API      |     Version:  5.7.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Description changed by SergeyBiryukov:

Old description:

> Notice: register_rest_route was called incorrectly. The REST API route
> definition for yoast/v1/get_head is missing the required
> permission_callback argument. For REST API routes that are intended to be
> public, use __return_true as the permission callback. Please see
> Debugging in WordPress for more information. (This message was added in
> version 5.5.0.) in /home/u951190705/domains/audiovisualcs.com/public_html
> /wp-includes/functions.php on line 5535

New description:

 `Notice: register_rest_route was called incorrectly. The REST API route
 definition for yoast/v1/get_head is missing the required
 permission_callback argument. For REST API routes that are intended to be
 public, use __return_true as the permission callback. Please see Debugging
 in WordPress for more information. (This message was added in version
 5.5.0.) in /home/u951190705/domains/audiovisualcs.com/public_html/wp-
 includes/functions.php on line 5535`

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53908#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list