This commit is contained in:
Alexander Agnarson 2021-04-08 20:47:14 +02:00
parent 20224f783f
commit a7c5bd41df
4 changed files with 8 additions and 5 deletions

View file

@ -6,8 +6,8 @@
<div class="card-left-inner group">
<div class="card-dots-one"></div>
<div class="card-avatar">
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ), get_the_author_meta( 'user_nicename' ) ); ?>">
<?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?>
<a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>">
<?php echo get_avatar( get_the_author_meta( 'ID' ), '128' ); ?>
</a>
</div>
<div class="card-date">

View file

@ -81,6 +81,9 @@ Content images
== Changelog ==
= 1.0.4 - 2021-04-08 =
* Fixed: avatar image and avatar author link
= 1.0.3 - 2021-04-02 =
* Fixed: visible focus states on mobile menu
* Fixed: underline on links in entry

View file

@ -10,8 +10,8 @@
<div class="card-left-inner group">
<div class="card-left-inner-single">
<div class="card-avatar">
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ), get_the_author_meta( 'user_nicename' ) ); ?>">
<?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?>
<a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>">
<?php echo get_avatar( get_the_author_meta( 'ID' ), '128' ); ?>
</a>
</div>
<div class="card-date">

View file

@ -1,7 +1,7 @@
/*
Theme Name: Halftype
Theme URI: http://alx.media/themes/halftype/
Version: 1.0.3
Version: 1.0.4
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 5.6