| @@ -144,9 +144,8 @@ | ||
| 144 | 144 | $author_id = $post->post_author; |
| 145 | 145 | $author_link = uwp_build_profile_tab_url($author_id); |
| 146 | 146 | $user = get_user_by('id', $author_id); |
| 147 | 147 | $author_name = esc_attr( $user->display_name ); |
| 148 | - $author_display_name = uwp_get_username($user->ID); | |
| 149 | 148 | $author_bio = get_user_meta($author_id, 'description', true); |
| 150 | 149 | $limit_words = apply_filters('uwp_author_bio_content_limit', uwp_get_option('author_box_bio_limit', 200)); |
| 151 | 150 | $author_bio = wp_trim_words( $author_bio, $limit_words, '...' ); |
| 152 | 151 | $meta_table = get_usermeta_table_prefix() . 'uwp_usermeta'; |
| @@ -160,9 +159,8 @@ | ||
| 160 | 159 | '[#post_modified#]' => esc_attr( $post->post_modified ), |
| 161 | 160 | '[#post_date#]' => esc_attr( $post->post_date ), |
| 162 | 161 | '[#author_id#]' => absint( $post->post_author ), |
| 163 | 162 | '[#author_name#]' => esc_attr( $author_name ), |
| 164 | - '[#author_display_name#]' => $author_display_name, | |
| 165 | 163 | '[#author_link#]' => esc_url( $author_link ), |
| 166 | 164 | '[#author_bio#]' => esc_textarea( $author_bio ), |
| 167 | 165 | '[#author_image#]' => get_avatar($post->post_author, $avatar_size), |
| 168 | 166 | '[#author_image_url#]' => get_avatar_url($post->post_author, $avatar_size), |