[wp-trac] [WordPress Trac] #45145: Keep `@wordpress` packages up to date

WordPress Trac noreply at wordpress.org
Mon Nov 12 07:58:42 UTC 2018


#45145: Keep `@wordpress` packages up to date
------------------------------+-----------------------
 Reporter:  atimmer           |       Owner:  (none)
     Type:  defect (bug)      |      Status:  assigned
 Priority:  highest omg bbq   |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:  5.0
 Severity:  blocker           |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+-----------------------

Comment (by azaozz):

 Looking at [43884], the `render_block()` in wp-includes/blocks.php in
 particular. Couple of nitpicks:
 - Thinking the normalization of the block `attrs` should be done in all
 cases, not just for dynamic blocks (it's better for the 'render_block'
 filter).
 - As we do `is_array( $block['attrs'] )` we don't need to cast it to array
 right after.

 See 45145-blocks.php.diff.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45145#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list