Changeset 55246 for trunk/src/wp-includes/blocks/comment-edit-link.php
- Timestamp:
- 02/07/2023 07:01:56 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks/comment-edit-link.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/comment-edit-link.php
r53278 r55246 28 28 } 29 29 30 $classes = '';30 $classes = array(); 31 31 if ( isset( $attributes['textAlign'] ) ) { 32 $classes .= 'has-text-align-' . $attributes['textAlign']; 32 $classes[] = 'has-text-align-' . $attributes['textAlign']; 33 } 34 if ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) { 35 $classes[] = 'has-link-color'; 33 36 } 34 37 35 $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classes) );38 $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classes ) ) ); 36 39 37 40 return sprintf(
Note: See TracChangeset
for help on using the changeset viewer.