mirror of
https://ghproxy.net/https://github.com/AlxMedia/splits.git
synced 2025-08-26 06:20:51 +08:00
Add missing esc_html
This commit is contained in:
parent
1c1ff503d6
commit
b5d6f2400a
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
|
||||
<?php elseif ( is_author() ): ?>
|
||||
<?php $author = get_userdata( get_query_var('author') );?>
|
||||
<h1><i class="far fa-user"></i><?php esc_html_e('Author:','splits'); ?> <span><?php echo $author->display_name;?></span></h1>
|
||||
<h1><i class="far fa-user"></i><?php esc_html_e('Author:','splits'); ?> <span><?php echo esc_html( $author->display_name ); ?></span></h1>
|
||||
|
||||
<?php elseif ( is_category() ): ?>
|
||||
<h1><?php echo single_cat_title('', false); ?></h1>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue