fix directory link typo

This commit is contained in:
Evan Mullins 2019-04-04 13:17:18 -06:00
parent 346ec48232
commit 3ff62f2c78

View file

@ -43,7 +43,7 @@ if ( false === ( $the_directory = get_transient( $transient_name ) ) ) {
$userimg = get_field( 'photo', 'user_' . $userid );
$username = esc_html( $user->nickname );
$the_directory .= '<a class="person person-' . $userid . '" href="' . get_author_posts_url( $userid ) . '>">';
$the_directory .= '<a class="person person-' . $userid . '" href="' . get_author_posts_url( $userid ) . '">';
$the_directory .= '<span class="directory-img">';
if ( $userimg ) {
$the_directory .= wp_get_attachment_image( $userimg, 'medium' );