Breaks flex-posts block.
-
Hey,
Really nice plugin, but… when enabled it breaks the Flex Posts plugin.
https://ww.wp.xz.cn/plugins/flex-posts/Also noted by another user:
https://ww.wp.xz.cn/support/topic/error-loading-block-invalid-parameters-attributes/When Flex Posts makes its API call, the difference between having Blocks CSS enabled or not is the addition of two parameters:
&attributes[hasCustomCSS]=false &attributes[customCSS]=And returns:
{ "code": "rest_invalid_param", "message": "Invalid parameter(s): attributes", "data": { "status": 400, "params": { "attributes": "hasCustomCSS is not a valid property of Object." } } }Which is in WordPress’s
rest_validate_value_from_schema()rest-api.php:1266.Basically, the validation fails for any property that isn’t in Flex Posts schema.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Breaks flex-posts block.’ is closed to new replies.