Ticket #50257: 50257.diff
File 50257.diff, 600 bytes (added by , 4 years ago) |
---|
-
src/wp-includes/class-wp-block-type.php
diff --git a/src/wp-includes/class-wp-block-type.php b/src/wp-includes/class-wp-block-type.php index 6ffda95b4e..1d367a0f00 100644
a b class WP_Block_Type { 199 199 */ 200 200 public function get_attributes() { 201 201 return is_array( $this->attributes ) ? 202 array_merge( 203 $this->attributes, 204 array( 205 'layout' => array( 206 'type' => 'string', 207 ), 208 ) 209 ) : 210 array( 211 'layout' => array( 212 'type' => 'string', 213 ), 214 ); 202 $this->attributes : 203 array(); 215 204 } 216 205 }