PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
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 4.2.0 All 139 releases
← All changes | templates/checkout/payment.php +4 -4 4.1.74.4.8 View file →
@@ -18,14 +18,14 @@
18 18 <?php
19 19 do_action( 'learn-press/before-payment-methods' );
20 20
21 21 // Show payments if cart total > 0 and have at least one payment method.
22 - if ( LP()->cart && LP()->cart->needs_payment() && $available_gateways ) {
22 + if ( LearnPress::instance()->cart && LearnPress::instance()->cart->needs_payment() && $available_gateways ) {
23 23 ?>
24 24 <h4>
25 25 <?php esc_html_e( 'Payment', 'learnpress' ); ?>
26 26 <span class="secure-connection">
27 - <i class="fas fa-lock"></i>
27 + <i class="lp-icon-lock"></i>
28 28 <?php echo esc_html_x( 'Secure Connection', 'payment method', 'learnpress' ); ?>
29 29 </span>
30 30 </h4>
31 31
@@ -70,11 +70,11 @@
70 70 <?php echo apply_filters( 'learn-press/checkout-proceed-button-text', esc_html__( 'Place order', 'learnpress' ) ); ?>
71 71 </button>
72 72
73 73 <?php
74 - if ( is_user_logged_in() ) {
74 + /*if ( is_user_logged_in() ) {
75 75 wp_nonce_field( 'learn-press-user-logged', 'learn-press-checkout-nonce' );
76 - }
76 + }*/
77 77
78 78 do_action( 'learn-press/after-checkout-submit-button' );
79 79 ?>
80 80 </div>