| @@ -1,24 +1,24 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Template for displaying profile user bio. | |
| 4 | - * | |
| 5 | - * @author ThimPress | |
| 6 | - * @package LearnPress/Templates | |
| 7 | - */ | |
| 8 | - | |
| 9 | -defined( 'ABSPATH' ) || exit; | |
| 10 | -$profile = LP_Profile::instance(); | |
| 11 | -$user = $profile->get_user(); | |
| 12 | - | |
| 13 | -if ( ! isset( $user ) ) { | |
| 14 | - return; | |
| 15 | -} | |
| 16 | - | |
| 17 | -$bio = $user->get_description(); | |
| 18 | -?> | |
| 19 | -<?php if ( $bio ) : ?> | |
| 20 | - <div class="lp-profile-user-bio"> | |
| 21 | - <?php echo wpautop( $bio ); ?> | |
| 22 | - </div> | |
| 23 | - | |
| 24 | -<?php endif; ?> | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Template for displaying profile user bio. | |
| 4 | + * | |
| 5 | + * @author ThimPress | |
| 6 | + * @package LearnPress/Templates | |
| 7 | + */ | |
| 8 | + | |
| 9 | +defined( 'ABSPATH' ) || exit; | |
| 10 | +$profile = LP_Profile::instance(); | |
| 11 | +$user = $profile->get_user(); | |
| 12 | + | |
| 13 | +if ( ! isset( $user ) ) { | |
| 14 | + return; | |
| 15 | +} | |
| 16 | + | |
| 17 | +$bio = $user->get_description(); | |
| 18 | +?> | |
| 19 | +<?php if ( $bio ) : ?> | |
| 20 | + <div class="lp-profile-user-bio"> | |
| 21 | + <?php echo wpautop( $bio ); ?> | |
| 22 | + </div> | |
| 23 | + | |
| 24 | +<?php endif; ?> | |