summaryrefslogtreecommitdiffstats
path: root/wp-includes/class-wp-block-supports.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/class-wp-block-supports.php')
-rw-r--r--wp-includes/class-wp-block-supports.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/class-wp-block-supports.php b/wp-includes/class-wp-block-supports.php
index afc0118..c90b5e0 100644
--- a/wp-includes/class-wp-block-supports.php
+++ b/wp-includes/class-wp-block-supports.php
@@ -103,7 +103,7 @@ class WP_Block_Supports {
return array();
}
- $block_attributes = array_key_exists( 'attrs', self::$block_to_render )
+ $block_attributes = array_key_exists( 'attrs', self::$block_to_render ) && is_array( self::$block_to_render['attrs'] )
? self::$block_to_render['attrs']
: array();