PluginProbe
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for news, magazine, blog and business sites / 2.6.6
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for news, magazine, blog and business sites v2.6.6
5.0.1 4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 All 39 releases
← All changes | freemius/templates/forms/subscription-cancellation.php +8 -14 5.0.1 → 2.6.6 View file →
@@ -33,19 +33,13 @@
33 33 if ( $VARS['is_license_deactivation'] ) {
34 34 $subscription_cancellation_text = '';
35 35 } else {
36 36 $subscription_cancellation_text = sprintf(
37 - ( $fs->is_theme() ?
38 - fs_text_inline(
39 - "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site.",
40 - 'deactivation-or-uninstall-message',
41 - $slug
42 - ) :
43 - fs_text_inline(
44 - "Uninstalling the %s will automatically disable the license, which you'll be able to use on another site.",
45 - 'uninstall-message',
46 - $slug
47 - ) ),
37 + fs_text_inline(
38 + "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site.",
39 + 'deactivation-or-uninstall-message',
40 + $slug
41 + ),
48 42 $module_label
49 43 ) . ' ';
50 44 }
51 45
@@ -144,9 +138,9 @@
144 138 + ' <div class="fs-modal-body">'
145 139 + ' <div class="fs-modal-panel active">' + <?php echo json_encode( $subscription_cancellation_html ) ?> + '<p class="fs-price-increase-warning" style="display: none;">' + <?php echo json_encode( $prices_increase_text ) ?> + '</p></div>'
146 140 + ' </div>'
147 141 + ' <div class="fs-modal-footer">'
148 - + ' <a href="#" class="button button-secondary button-close"><?php fs_esc_attr_echo_inline( 'Cancel', 'cancel', $slug ) ?></a>'
142 + + ' <a href="#" class="button button-secondary button-close"><?php fs_esc_attr_echo( 'cancel', $slug ) ?></a>'
149 143 + ' <a href="#" class="button button-primary button-deactivate disabled"><?php fs_esc_attr_echo_inline( 'Proceed', 'proceed', $slug ) ?></a>'
150 144 + ' </div>'
151 145 + ' </div>'
152 146 + '</div>',
@@ -199,9 +193,9 @@
199 193 ) ) ?> );
200 194
201 195 $modal.find('.fs-price-increase-warning').show();
202 196 } else {
203 - $primaryButton.html( <?php fs_json_encode_echo_inline( 'Proceed', 'proceed', $slug ) ?> );
197 + $primaryButton.html( <?php echo fs_json_encode_echo_inline( 'Proceed', 'proceed', $slug ) ?> );
204 198 $modal.find('.fs-price-increase-warning').hide();
205 199 }
206 200
207 201 $primaryButton.toggleClass( 'warn', isSelected );
@@ -276,8 +270,8 @@
276 270
277 271 function updateButtonLabels() {
278 272 $modal.find('.button-primary').text( <?php fs_json_encode_echo_inline( 'Proceed', 'proceed', $slug ) ?> );
279 273
280 - $modal.find('.button-secondary').text( <?php fs_json_encode_echo_inline( 'Cancel', 'cancel', $slug ) ?> );
274 + $modal.find('.button-secondary').text( <?php fs_json_encode_echo( 'cancel', $slug ) ?> );
281 275 }
282 276 })( jQuery );
283 277 </script>