Ticket #48341: 48341.patch
| File 48341.patch, 641 bytes (added by , 6 years ago) |
|---|
-
src/wp-includes/class-wp-block-parser.php
445 445 ? json_decode( $matches['attrs'][0], /* as-associative */ true ) 446 446 : $this->empty_attrs; 447 447 448 /*449 * This state isn't allowed450 * This is an error451 */452 if ( $is_closer && ( $is_void || $has_attrs ) ) {453 // we can ignore them since they don't hurt anything.454 }455 456 448 if ( $is_void ) { 457 449 return array( 'void-block', $name, $attrs, $started_at, $length ); 458 450 }