| @@ -19,8 +19,16 @@ | ||
| 19 | 19 | */ |
| 20 | 20 | public $key = 'sellkit-partners-theme-offer'; |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | + * Notice url. | |
| 24 | + * | |
| 25 | + * @since 1.8.6 | |
| 26 | + * @var string | |
| 27 | + */ | |
| 28 | + public $url = 'https://getsellkit.com/pricing/?coupon=promo_1NjxuCCrEq1rXLl9SD1SsLXM&utm_source=PhloxThemeWPAdminTopUpgradeBar&utm_medium=PartnerThemeWPAdmin'; | |
| 29 | + | |
| 30 | + /** | |
| 23 | 31 | * Class construct. |
| 24 | 32 | * |
| 25 | 33 | * @since 1.7.9 |
| 26 | 34 | */ |
| @@ -26,10 +34,8 @@ | ||
| 26 | 34 | */ |
| 27 | 35 | public function __construct() { |
| 28 | 36 | parent::__construct(); |
| 29 | 37 | |
| 30 | - $this->url = 'https://getsellkit.com/pricing/?coupon=promo_1NjxuCCrEq1rXLl9SD1SsLXM&utm_source=PhloxThemeWPAdminTopUpgradeBar&utm_medium=PartnerThemeWPAdmin'; | |
| 31 | - | |
| 32 | 38 | if ( 'Bridge' === $this->active_theme ) { |
| 33 | 39 | $this->url = 'https://getsellkit.com/pricing/?coupon=promo_1NjxuCCrEq1rXLl9SD1SsLXM&utm_source=BridgeThemeWPAdminTopUpgradeBar&utm_medium=PartnerThemeWPAdmin'; |
| 34 | 40 | } |
| 35 | 41 | } |
| @@ -152,9 +158,9 @@ | ||
| 152 | 158 | <p class="offer-text"> |
| 153 | 159 | <?php |
| 154 | 160 | echo '50% '; |
| 155 | 161 | /* translators: %s Theme name. */ |
| 156 | - echo sprintf( esc_html__( 'OFF for %s users', 'sellkit' ), $this->active_theme ); | |
| 162 | + echo sprintf( esc_html__( 'OFF for %s users', 'sellkit' ), esc_html( $this->active_theme ) ); | |
| 157 | 163 | ?> |
| 158 | 164 | </p> |
| 159 | 165 | </div> |
| 160 | 166 | </a> |