mirror of
https://ghproxy.net/https://github.com/AlxMedia/airl.git
synced 2025-08-26 08:38:12 +08:00
Fix lang string and esc_attr to esc_html
This commit is contained in:
parent
6925ef420e
commit
261274051e
3 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ $highlight = new WP_Query(
|
|||
<div class="card-articles container-inner">
|
||||
|
||||
<div class="card-header">
|
||||
<h2 class="card-header-title"><i class="fas fa-fire"></i> <span><?php esc_html_e('Highlights','magaziner'); ?></span></h2>
|
||||
<h2 class="card-header-title"><i class="fas fa-fire"></i> <span><?php esc_html_e('Highlights','airl'); ?></span></h2>
|
||||
</div>
|
||||
<div class="mini-card-grid">
|
||||
<?php while ( $highlight->have_posts() ): $highlight->the_post(); ?>
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
<span class="header-comments-avatar"><?php echo get_avatar($comment->comment_author_email,$size='96'); ?></span>
|
||||
<?php $str=explode(' ',get_comment_excerpt($comment->comment_ID)); $comment_excerpt=implode(' ',array_slice($str,0,11)); if(count($str) > 11 && substr($comment_excerpt,-1)!='.') $comment_excerpt.='...' ?>
|
||||
<span class="header-comments-inner">
|
||||
<strong class="header-comments-title"><?php echo esc_attr( $comment->comment_author ); ?>:</strong>
|
||||
<i class="header-comments-excerpt"><?php echo esc_attr( $comment_excerpt ); ?></i>
|
||||
<strong class="header-comments-title"><?php echo esc_html( $comment->comment_author ); ?>:</strong>
|
||||
<i class="header-comments-excerpt"><?php echo esc_html( $comment_excerpt ); ?></i>
|
||||
<i class="fa fa-comments"></i>
|
||||
</span>
|
||||
</a>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Airl\n"
|
||||
"POT-Creation-Date: 2022-09-14 14:27+0200\n"
|
||||
"POT-Creation-Date: 2022-09-23 14:44+0200\n"
|
||||
"PO-Revision-Date: 2018-09-21 21:27+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue