Skip to content

Commit

Permalink
= 4.2.0 =
Browse files Browse the repository at this point in the history
~ Fixed: empty space textare.
  • Loading branch information
tungnxt89 committed Dec 20, 2022
1 parent e299cd2 commit b41c11a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions templates/profile/tabs/settings/basic-information.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,14 @@
<li class="form-field form-field__bio form-field__clear">
<label for="description"><?php esc_html_e( 'Biographical Info', 'learnpress' ); ?></label>
<div class="form-field-input">
<textarea name="description" id="description" rows="5" cols="30">
<?php echo esc_html( $user->get_data( 'description' ) ); ?>
</textarea>
<?php
echo sprintf(
'%s%s%s',
'<textarea name="description" id="description" rows="5" cols="30">',
esc_html( $user->get_data( 'description' ) ),
'</textarea>'
);
?>
<p class="description"><?php esc_html_e( 'Share a little biographical information to fill out your profile. This may be shown publicly.', 'learnpress' ); ?></p>
</div>
</li>
Expand Down

0 comments on commit b41c11a

Please sign in to comment.