Skip to content

Commit d1a309f

Browse files
Used esc_html_e
1 parent 8a50da9 commit d1a309f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

class-unlist-posts-admin.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ function metabox_render( $post ) {
9292
?>
9393
<p>
9494
<label class="checkbox-inline">
95-
<input name="unlist_posts" type="checkbox" <?php echo esc_attr( $checked ); ?> value=""><?php echo esc_html( __( 'Unlist this post?', 'unlist-posts' ) ); ?>
95+
<input name="unlist_posts" type="checkbox" <?php echo esc_attr( $checked ); ?> value=""><?php esc_html_e( 'Unlist this post?', 'unlist-posts' ); ?>
9696
</label>
9797
</p>
98-
<p class="description"><?php echo esc_html( __( 'This will hide the post from your site, The post can only be accessed from direct URL.', 'unlist-posts' ) ); ?> </p>
98+
<p class="description"><?php esc_html_e( 'This will hide the post from your site, The post can only be accessed from direct URL.', 'unlist-posts' ); ?> </p>
9999
<?php
100100
}
101101

0 commit comments

Comments
 (0)