Skip to content

Commit

Permalink
Merge pull request #430 from Automattic/trepmal-patch-1
Browse files Browse the repository at this point in the history
Move parenthesis to fix esc_html and sprintf
  • Loading branch information
philipjohn authored Jun 28, 2017
2 parents 39276d1 + 830987b commit 832ac30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/class-coauthors-guest-authors.php
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ function view_guest_authors_list() {
// Leave mapped to a linked account
if ( get_user_by( 'login', $guest_author->linked_account ) ) {
echo '<li><label for="leave-assigned">';
echo '<input type="radio" id="leave-assigned" class="reassign-option" name="reassign" value="leave-assigned" />&nbsp;&nbsp;' . esc_html( sprintf( __( 'Leave posts assigned to the mapped user, %s.', 'co-authors-plus' ) ), $guest_author->linked_account );
echo '<input type="radio" id="leave-assigned" class="reassign-option" name="reassign" value="leave-assigned" />&nbsp;&nbsp;' . esc_html( sprintf( __( 'Leave posts assigned to the mapped user, %s.', 'co-authors-plus' ), $guest_author->linked_account ) );
echo '</label></li>';
}
// Remove bylines from the posts
Expand Down

0 comments on commit 832ac30

Please sign in to comment.