Skip to content

Commit ed7f8e2

Browse files
chore: fix styling
1 parent cdb8626 commit ed7f8e2

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

assets/css/rop_core.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ a.active {
382382
font-size: 1.4rem;
383383
}
384384

385-
#rop_core h4,
385+
#rop_core h4:not(.themeisle-sale-title),
386386
#rop_core .h4 {
387387
font-size: 1.2rem;
388388
}

includes/admin/class-rop-admin.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1859,8 +1859,9 @@ public static function add_black_friday_data( $configs ) {
18591859
$product_label = __( 'Revive Social', 'tweet-old-post' );
18601860
$discount = '50%';
18611861

1862-
$plan = apply_filters( 'product_rop_license_plan', 0 );
1863-
$is_pro = 0 < $plan;
1862+
$plan = apply_filters( 'product_rop_license_plan', 0 );
1863+
$license = apply_filters( 'product_rop_license_key', false );
1864+
$is_pro = 0 < $plan;
18641865

18651866
if ( $is_pro ) {
18661867
// translators: %1$s - HTML tag, %2$s - discount, %3$s - HTML tag, %4$s - product name.
@@ -1872,7 +1873,7 @@ public static function add_black_friday_data( $configs ) {
18721873
$product_label = sprintf( '<strong>%s</strong>', $product_label );
18731874
$url_params = array(
18741875
'utm_term' => $is_pro ? 'plan-' . $plan : 'free',
1875-
'lkey' => apply_filters( 'product_rop_license_key', false ),
1876+
'lkey' => ! empty( $license ) ? $license : false,
18761877
);
18771878

18781879
$config['message'] = sprintf( $message_template, '<strong>', $discount, '</strong>', $product_label );

0 commit comments

Comments
 (0)