Changeset 49579 for trunk/src/wp-includes/blocks/social-link.php
- Timestamp:
- 11/12/2020 07:34:55 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/social-link.php
r49226 r49579 16 16 */ 17 17 function render_block_core_social_link( $attributes, $content, $block ) { 18 $open_in_new_tab = $block->context['openInNewTab'];18 $open_in_new_tab = isset( $block->context['openInNewTab'] ) ? $block->context['openInNewTab'] : false; 19 19 20 20 $service = ( isset( $attributes['service'] ) ) ? $attributes['service'] : 'Icon';
Note: See TracChangeset
for help on using the changeset viewer.