This commit is contained in:
AlxMedia 2022-12-12 18:57:10 +01:00
parent c9323ca4a0
commit 76c468ba78
4 changed files with 7 additions and 4 deletions

View file

@ -11,8 +11,8 @@
<span class="stripe-comments-avatar"><?php echo get_avatar($comment->comment_author_email,$size='96'); ?></span> <span class="stripe-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.='...' ?> <?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="stripe-comments-inner"> <span class="stripe-comments-inner">
<strong class="stripe-comments-title"><?php echo esc_attr( $comment->comment_author ); ?>:</strong> <strong class="stripe-comments-title"><?php echo esc_html( $comment->comment_author ); ?>:</strong>
<i class="stripe-comments-excerpt"><?php echo esc_attr( $comment_excerpt ); ?></i> <i class="stripe-comments-excerpt"><?php echo esc_html( $comment_excerpt ); ?></i>
</span> </span>
</a> </a>
</li> </li>

View file

@ -27,7 +27,7 @@
<?php elseif ( is_author() ): ?> <?php elseif ( is_author() ): ?>
<?php $author = get_userdata( get_query_var('author') );?> <?php $author = get_userdata( get_query_var('author') );?>
<h1><i class="far fa-user"></i><?php esc_html_e('Author:','magaziner'); ?> <span><?php echo esc_attr( $author->display_name );?></span></h1> <h1><i class="far fa-user"></i><?php esc_html_e('Author:','magaziner'); ?> <span><?php echo esc_html( $author->display_name );?></span></h1>
<?php elseif ( is_category() ): ?> <?php elseif ( is_category() ): ?>
<h1><i class="far fa-folder"></i><?php esc_html_e('Category:','magaziner'); ?> <span><?php echo single_cat_title('', false); ?></span></h1> <h1><i class="far fa-folder"></i><?php esc_html_e('Category:','magaziner'); ?> <span><?php echo single_cat_title('', false); ?></span></h1>

View file

@ -88,6 +88,9 @@ Subheader images
== Changelog == == Changelog ==
= 3.2.0 - 2022-12-12 =
* Fixed esc_attr issues
= 3.1.9 - 2022-11-21 = = 3.1.9 - 2022-11-21 =
* Changed theme from premium to free * Changed theme from premium to free

View file

@ -1,7 +1,7 @@
/* /*
Theme Name: Magaziner Theme Name: Magaziner
Theme URI: http://alx.media/themes/magaziner/ Theme URI: http://alx.media/themes/magaziner/
Version: 3.1.9 Version: 3.2.0
Requires at least: 5.0 Requires at least: 5.0
Requires PHP: 5.6 Requires PHP: 5.6
Tested up to: 6.1 Tested up to: 6.1