Changes between Initial Version and Version 1 of Ticket #56799, comment 7
- Timestamp:
- 10/11/2022 06:23:01 PM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56799, comment 7
initial v1 1 1 To add more context, this seem to come from the `core/page-list` block which doesn't declare any attributes. That seem to cause the `self::$block_to_render` to not contain a key `attrs` in the PHP side. 2 2 3 This in turn was causing a warning in `wp-includes/block-supports/custom-classname.php`, reported in #56801 3 This in turn was causing a warning in `wp-includes/block-supports/custom-classname.php`, reported in #56801. 4 5 The proposed fix add a check for the key and use an empty array has the default value if it doesn't exist.