PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 2.2.0
Subscriptions for WooCommerce with Stripe Recurring Payments v2.2.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 | includes/Admin/views/subscription-list.php +2 -2 2.4.0 → 2.2.0 View file →
@@ -24,9 +24,9 @@
24 24 $months = array();
25 25 $this_month = ( new DateTimeImmutable( 'now', wp_timezone() ) )->modify( 'first day of this month' )->setTime( 0, 0 );
26 26 for ( $i = 0; $i < 12; $i++ ) {
27 27 $month = strtotime( "-$i month" );
28 - $months[ gmdate( 'Y-m', $month ) ] = wp_date( 'F Y', $month, new \DateTimeZone( 'UTC' ) );
28 + $months[ gmdate( 'Y-m', $month ) ] = gmdate( 'F Y', $month );
29 29 }
30 30 ?>
31 31 <div class="wp-subscription-admin-content list-page">
32 32
@@ -262,9 +262,9 @@
262 262 $customer_url = $customer_id ? admin_url( 'user-edit.php?user_id=' . $customer_id ) : '';
263 263 $customer_email = $order ? $order->get_billing_email() : '';
264 264
265 265 $start_date = $subscription_data['start_date'] ? strtotime( $subscription_data['start_date'] ) : 0;
266 - $renewal_date = $subscription_data['next_date'] && SpringDevs\Subscription\Illuminate\Helper::has_next_payment( $subscrpt_status ) ? strtotime( $subscription_data['next_date'] ) : 0;
266 + $renewal_date = $subscription_data['next_date'] ? strtotime( $subscription_data['next_date'] ) : 0;
267 267
268 268 $is_trash = 'trash' === $subscription->post_status;
269 269 $is_grace_period = isset( $subscription_data['grace_period'] );
270 270 $grace_remaining = $subscription_data['grace_period']['remaining_days'] ?? 0;