← All changes
|
libraries/freemius/templates/forms/subscription-cancellation.php
+11
-5
2.4.2
→
3.4
View file →
| @@ -33,13 +33,19 @@ | ||
| 33 | 33 | if ( $VARS['is_license_deactivation'] ) { |
| 34 | 34 | $subscription_cancellation_text = ''; |
| 35 | 35 | } else { |
| 36 | 36 | $subscription_cancellation_text = sprintf( |
| 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 | - ), | |
| 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 | + ) ), | |
| 42 | 48 | $module_label |
| 43 | 49 | ) . ' '; |
| 44 | 50 | } |
| 45 | 51 | |