Changeset 51051 for trunk/src/wp-includes/block-supports/elements.php
- Timestamp:
- 06/01/2021 08:07:07 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/block-supports/elements.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/elements.php
r50945 r51051 18 18 */ 19 19 function wp_render_elements_support( $block_content, $block ) { 20 $link_color = _wp_array_get( $block['attrs'], array( 'style', 'elements', 'link', 'color', 'text' ), null ); 20 $link_color = null; 21 if ( ! empty( $block['attrs'] ) ) { 22 $link_color = _wp_array_get( $block['attrs'], array( 'style', 'elements', 'link', 'color', 'text' ), null ); 23 } 21 24 22 25 /*
Note: See TracChangeset
for help on using the changeset viewer.