@@ -2374,27 +2374,25 @@ private function enable_telemetry() {
2374
2374
public function add_black_friday_data ( $ configs ) {
2375
2375
$ config = $ configs ['default ' ];
2376
2376
2377
- $ product_label = __ ( 'Feedzy ' , 'feedzy-rss-feeds ' );
2378
- $ discount = '70% ' ;
2379
-
2380
2377
// translators: %1$s - discount, %2$s - product label.
2381
2378
$ message_template = __ ( 'Our biggest sale of the year: %1$s off on %2$s! Don \'t miss this limited-time offer. ' , 'feedzy-rss-feeds ' );
2379
+ $ product_label = __ ( 'Feedzy ' , 'feedzy-rss-feeds ' );
2380
+ $ discount = '70% ' ;
2382
2381
2383
- $ is_pro = feedzy_is_pro ();
2384
- $ license_key = apply_filters ( 'product_feedzy_license_key ' , '' );
2382
+ $ is_pro = feedzy_is_pro ();
2385
2383
2386
2384
if ( $ is_pro ) {
2387
- $ product_label = __ ( 'Feedzy Pro ' , 'feedzy-rss-feeds ' );
2388
- $ discount = '30% ' ;
2389
-
2390
2385
// translators: %1$s - discount, %2$s - product label.
2391
2386
$ message_template = __ ( 'Get %1$s off when you upgrade your %2$s plan or renew early. ' , 'feedzy-rss-feeds ' );
2387
+ $ product_label = __ ( 'Feedzy Pro ' , 'feedzy-rss-feeds ' );
2388
+ $ discount = '30% ' ;
2392
2389
}
2393
2390
2394
2391
$ discount = sprintf ( '<strong>%s</strong> ' , $ discount );
2395
2392
$ product_label = sprintf ( '<strong>%s</strong> ' , $ product_label );
2396
2393
$ url_params = array (
2397
- 'utm_term ' => $ is_pro ? 'plan- ' . apply_filters ( 'product_feedzy_license_plan ' , 0 ) : 'free '
2394
+ 'utm_term ' => $ is_pro ? 'plan- ' . apply_filters ( 'product_feedzy_license_plan ' , 0 ) : 'free ' ,
2395
+ 'lkey ' => apply_filters ( 'product_feedzy_license_key ' , false )
2398
2396
);
2399
2397
2400
2398
if ( ! empty ( $ license_key ) ) {
0 commit comments