PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 All 140 releases
← All changes | templates/checkout/account-register.php +2 -3 4.4.3 → 4.4.9 View file →
@@ -11,9 +11,8 @@
11 11
12 12 defined( 'ABSPATH' ) || exit();
13 13 ?>
14 14
15 -<input type="radio" id="checkout-account-switch-to-register" name="checkout-account-switch-form" value="register"/>
16 15 <div id="checkout-account-register" class="lp-checkout-block left">
17 16
18 17 <h4><?php esc_html_e( 'Sign up', 'learnpress' ); ?></h4>
19 18
@@ -50,10 +49,10 @@
50 49
51 50 <p class="lp-checkout-sign-in-link">
52 51 <?php if ( LearnPress::instance()->checkout()->is_enable_login() ) : ?>
53 52 <?php esc_html_e( 'Already had an account?', 'learnpress' ); ?>
54 - <a href="javascript: void(0);">
55 - <label for="checkout-account-switch-to-login"><?php esc_html_e( 'Sign in', 'learnpress' ); ?></label>
53 + <a href="<?php echo esc_url( add_query_arg( 'is_form_login', '1', LP_Helper::get_link_no_cache( learn_press_get_page_link( 'checkout' ) ) ) ); ?>">
54 + <?php esc_html_e( 'Sign in', 'learnpress' ); ?>
56 55 </a>.
57 56 <?php endif; ?>
58 57
59 58 <?php learn_press_get_template( 'checkout/guest-checkout-link' ); ?>