Skip to content

Commit

Permalink
Merge pull request #382 from trepmal/milestone/kl-373
Browse files Browse the repository at this point in the history
Make sure to echo wp_kses()
  • Loading branch information
sboisvert authored Nov 11, 2016
2 parents c8d7893 + 7372bde commit 5f7c779
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions co-authors-plus.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,14 +375,14 @@ public function coauthors_meta_box( $post ) {
?>
</ul>
<div class="clear"></div>
<p><?php wp_kses( __( '<strong>Note:</strong> To edit post authors, please enable javascript or use a javascript-capable browser', 'co-authors-plus' ), array( 'strong' => array() ) ); ?></p>
<p><?php echo wp_kses( __( '<strong>Note:</strong> To edit post authors, please enable javascript or use a javascript-capable browser', 'co-authors-plus' ), array( 'strong' => array() ) ); ?></p>
</div>
<?php
endif;
?>

<div id="coauthors-edit" class="hide-if-no-js">
<p><?php wp_kses( __( 'Click on an author to change them. Drag to change their order. Click on <strong>Remove</strong> to remove them.', 'co-authors-plus' ), array( 'strong' => array() ) ); ?></p>
<p><?php echo wp_kses( __( 'Click on an author to change them. Drag to change their order. Click on <strong>Remove</strong> to remove them.', 'co-authors-plus' ), array( 'strong' => array() ) ); ?></p>
</div>

<?php wp_nonce_field( 'coauthors-edit', 'coauthors-nonce' ); ?>
Expand Down Expand Up @@ -506,7 +506,7 @@ function _action_quick_edit_custom_box( $column_name, $post_type ) {
<label class="inline-edit-group inline-edit-coauthors">
<span class="title"><?php esc_html_e( 'Authors', 'co-authors-plus' ) ?></span>
<div id="coauthors-edit" class="hide-if-no-js">
<p><?php wp_kses( __( 'Click on an author to change them. Drag to change their order. Click on <strong>Remove</strong> to remove them.', 'co-authors-plus' ), array( 'strong' => array() ) ); ?></p>
<p><?php echo wp_kses( __( 'Click on an author to change them. Drag to change their order. Click on <strong>Remove</strong> to remove them.', 'co-authors-plus' ), array( 'strong' => array() ) ); ?></p>
</div>
<?php wp_nonce_field( 'coauthors-edit', 'coauthors-nonce' ); ?>
</label>
Expand Down

0 comments on commit 5f7c779

Please sign in to comment.