Passing array of styles causes PHP Warnings and Notices #43086
Labels
[Feature] Block API
API that allows to express the block paradigm.
[Type] WP Core Ticket
Requires an upstream change from WordPress. Core Trac ticket should be linked.
Description
In the documentation: https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#style
passing an array of styles is possible since 5.9.0. However, I'm on WordPress 6.1 and there are some errors and notices:
Both the styles are enqueued, though.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Gutenberg is not installed.
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: