Skip to content

Commit

Permalink
Post-Author: Move HTML tags outside of the translatable string (#19675)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskmnds authored and Soean committed Jan 15, 2020
1 parent 05bded0 commit 31396e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/post-author/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function render_block_core_post_author() {
return '';
}
// translators: %s: The author.
return sprintf( __( '<address>By %s</address>' ), get_the_author() );
return '<address>' . sprintf( __( 'By %s' ), get_the_author() ) . '</address>';
}

/**
Expand Down

0 comments on commit 31396e6

Please sign in to comment.