PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 2.1.0
Subscriptions for WooCommerce with Stripe Recurring Payments v2.1.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/Illuminate/Cancellation.php +5 -13 2.3.0 → 2.1.0 View file →
@@ -203,21 +203,13 @@
203 203 <?php $subscrpt_offer_percent = \SpringDevs\Subscription\Admin\CancellationFlow::offer_percent(); ?>
204 204 <div class="subscrpt-feedback-modal__body" data-subscrpt-offer-step>
205 205 <p class="subscrpt-feedback-modal__intro">
206 206 <?php
207 - if ( 'fixed' === \SpringDevs\Subscription\Admin\CancellationFlow::offer_type() ) {
208 - printf(
209 - /* translators: %s: formatted discount amount. */
210 - esc_html__( 'Stay with us and take %s off your next order.', 'subscription' ),
211 - wp_kses_post( wc_price( \SpringDevs\Subscription\Admin\CancellationFlow::offer_amount() ) )
212 - );
213 - } else {
214 - printf(
215 - /* translators: %s: discount percentage. */
216 - esc_html__( 'Stay with us and take %s%% off your next order.', 'subscription' ),
217 - esc_html( (string) $subscrpt_offer_percent )
218 - );
219 - }
207 + printf(
208 + /* translators: %s: discount percentage. */
209 + esc_html__( 'Stay with us and take %s%% off your next order.', 'subscription' ),
210 + esc_html( (string) $subscrpt_offer_percent )
211 + );
220 212 ?>
221 213 </p>
222 214 <p class="subscrpt-feedback-modal__offer-note" data-subscrpt-offer-result hidden></p>
223 215 </div>