| @@ -5,9 +5,9 @@ | ||
| 5 | 5 | * This template can be overridden by copying it to yourtheme/learnpress/checkout/form-logged-in.php. |
| 6 | 6 | * |
| 7 | 7 | * @author ThimPress |
| 8 | 8 | * @package Learnpress/Templates |
| 9 | - * @version 4.0.0 | |
| 9 | + * @version 4.0.1 | |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | defined( 'ABSPATH' ) || exit(); |
| 13 | 13 | |
| @@ -19,9 +19,15 @@ | ||
| 19 | 19 | ?> |
| 20 | 20 | |
| 21 | 21 | <div id="checkout-account-logged-in" class="lp-checkout-block left"> |
| 22 | 22 | <p> |
| 23 | - <?php printf( __( 'Logged in as <a href="%1$s">%2$s</a>.', 'learnpress' ), get_edit_user_link(), $user_identity ); ?> | |
| 23 | + <?php | |
| 24 | + printf( | |
| 25 | + __( 'Logged in as <a href="%1$s">%2$s</a>.', 'learnpress' ), | |
| 26 | + LP_Page_Controller::get_link_page( 'profile' ), | |
| 27 | + $user_identity | |
| 28 | + ); | |
| 29 | + ?> | |
| 24 | 30 | |
| 25 | 31 | <a href="<?php echo esc_url_raw( wp_logout_url( get_permalink() ) ); ?>" title="<?php esc_attr_e( 'Log out of this account', 'learnpress' ); ?>"> |
| 26 | 32 | <?php esc_html_e( 'Log out »', 'learnpress' ); ?> |
| 27 | 33 | </a> |