Skip to content

Commit

Permalink
Merge pull request #1191 from equalizedigital/dev/Add-Styles-to-Theme
Browse files Browse the repository at this point in the history
auto p
  • Loading branch information
tronsymphony authored Apr 15, 2024
2 parents 86f4f3d + 0f0efc5 commit 97ededf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion author.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@

// Display the bio if it exists
if (!empty($author_bio)) {
echo wp_kses_post('<div class="author-bio">' . ($author_bio) . '</div>');
echo wpautop( wp_kses_post('<div class="author-bio">' . ($author_bio) . '</div>'));
} else {
// Fallback to Yoast SEO's user bio if the custom bio is not set.
$yoast_user_bio = get_the_author_meta('wpseo_metadesc');
Expand Down

0 comments on commit 97ededf

Please sign in to comment.