Skip to content

Commit

Permalink
Post Author: Fix duplicate Additional CSS classes (#39759)
Browse files Browse the repository at this point in the history
  • Loading branch information
shimotmk authored Mar 25, 2022
1 parent 1b48258 commit 6cc464c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/block-library/src/post-author/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function render_block_core_post_author( $attributes, $content, $block ) {

$byline = ! empty( $attributes['byline'] ) ? $attributes['byline'] : false;
$classes = array_merge(
isset( $attributes['className'] ) ? array( $attributes['className'] ) : array(),
isset( $attributes['itemsJustification'] ) ? array( 'items-justified-' . $attributes['itemsJustification'] ) : array(),
isset( $attributes['textAlign'] ) ? array( 'has-text-align-' . $attributes['textAlign'] ) : array()
);
Expand Down

0 comments on commit 6cc464c

Please sign in to comment.