Make WordPress Core

Changes between Initial Version and Version 6 of Ticket #50620


Ignore:
Timestamp:
07/09/2020 11:00:07 PM (5 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50620

    • Property Keywords good-first-bug has-patch added
    • Property Milestone changed from Awaiting Review to 5.5
    • Property Summary changed from REST API: regression after introducing changes how block renderer endpoint is non defined to REST API: regression after introducing changes how block renderer endpoint is now defined
  • Ticket #50620 – Description

    initial v6  
    66We are testing with the future version of WordPress 5.5 ( WordPress 5.5-beta1-48410 ) and we noticed a regression because sanitization of block attributes doesn't work anymore espacially for boolean attributes which is important to get the right value in PHP (true or false) and not a string.
    77
    8 Indeed there has been changes in the REST API block renderer endpoint definition introduced by this changeset https://core.trac.wordpress.org/changeset/48069 to fix this ticket https://core.trac.wordpress.org/ticket/48079
     8Indeed there has been changes in the REST API block renderer endpoint definition introduced by this changeset [48069] to fix this ticket #48079.
    99
    1010As we can see in the endpoint schema we lost the 'properties' attributes which is used before to set the block attributes.