PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 2.3.0
Subscriptions for WooCommerce with Stripe Recurring Payments v2.3.0
2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.11.2 1.11.1 1.11.0 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.6 1.9.5 trunk 1.3.0 1.3.1 1.3.2 1.4.0 All 65 releases
← All changes | templates/myaccount/single.php +3 -1 2.1.0 → 2.3.0 View file →
@@ -108,8 +108,10 @@
108 108 if ( 'null' == $trial || 'off' === $trial_mode ) {
109 109 esc_html_e( 'Start date', 'subscription' );
110 110 } elseif ( 'extended' === $trial_mode ) {
111 111 esc_html_e( 'Trial End & Subscription Start', 'subscription' );
112 + } elseif ( ! Helper::has_next_payment( $status ) ) {
113 + esc_html_e( 'Trial End', 'subscription' );
112 114 } else {
113 115 esc_html_e( 'Trial End & First Billing', 'subscription' );
114 116 }
115 117 ?>
@@ -115,9 +117,9 @@
115 117 ?>
116 118 </td>
117 119 <td><?php echo esc_html( $start_date ); ?></td>
118 120 </tr>
119 - <?php if ( ( null == $trial || in_array( $trial_mode, array( 'off', 'extended' ), true ) ) && get_post_meta( $id, '_subscrpt_next_date', true ) ) : ?>
121 + <?php if ( ( null == $trial || in_array( $trial_mode, array( 'off', 'extended' ), true ) ) && get_post_meta( $id, '_subscrpt_next_date', true ) && Helper::has_next_payment( $status ) ) : ?>
120 122 <tr>
121 123 <td>
122 124 <?php
123 125 esc_html_e( 'Next payment date', 'subscription' );