|
18 | 18 | ?>
|
19 | 19 | <div class="rnoc-grid-cell retainful_premium_grid">
|
20 | 20 | <div class="avatar-lg-bg">
|
21 |
| - <i class="dashicons <?php echo $addon->icon(); ?> retain-icon-premium"></i> |
| 21 | + <i class="dashicons <?php echo esc_attr($addon->icon()); ?> retain-icon-premium"></i> |
22 | 22 | </div>
|
23 |
| - <div class="header retainful_premium_heading"><?php echo $title; ?></div> |
| 23 | + <div class="header retainful_premium_heading"><?php echo esc_html($title); ?></div> |
24 | 24 | <div class="retainful_premium_para">
|
25 | 25 | <p><?php
|
26 |
| - echo $addon->description(); |
| 26 | + echo esc_html($addon->description()); |
27 | 27 | ?>
|
28 | 28 | </p>
|
29 | 29 | </div>
|
30 | 30 | <div class="footer">
|
31 | 31 | <a class="view-addon-btn button button-premium"
|
32 |
| - href="<?php echo add_query_arg(array('add-on' => $slug), $base_url) ?>" |
33 |
| - ><?php echo __('Go to Configuration', RNOC_TEXT_DOMAIN); ?></a> |
| 32 | + href="<?php echo esc_url(add_query_arg(array('add-on' => $slug), $base_url)) ?>" |
| 33 | + ><?php echo esc_html__('Go to Configuration', 'retainful-next-order-coupon-for-woocommerce'); ?></a> |
34 | 34 | </div>
|
35 | 35 | </div>
|
36 | 36 | <?php
|
|
42 | 42 | } else {
|
43 | 43 | $available_addon_list = array(
|
44 | 44 | array(
|
45 |
| - 'title' => __('Add-to-Cart Email Collection Popup (Premium)', RNOC_TEXT_DOMAIN), |
46 |
| - 'description' => __('Collect customer email at the time of adding to cart. This will help you recover the cart even if they abandon before checkout.', RNOC_TEXT_DOMAIN), |
| 45 | + 'title' => __('Add-to-Cart Email Collection Popup (Premium)', 'retainful-next-order-coupon-for-woocommerce'), |
| 46 | + 'description' => __('Collect customer email at the time of adding to cart. This will help you recover the cart even if they abandon before checkout.', 'retainful-next-order-coupon-for-woocommerce'), |
47 | 47 | 'icon' => 'dashicons-cart'
|
48 | 48 | ),
|
49 | 49 | array(
|
50 |
| - 'title' => __('Countdown Timer (Premium)', RNOC_TEXT_DOMAIN), |
51 |
| - 'description' => __('Give a clear deadline to grab the offer and create a sense of urgency using Countdown Timer', RNOC_TEXT_DOMAIN), |
| 50 | + 'title' => __('Countdown Timer (Premium)', 'retainful-next-order-coupon-for-woocommerce'), |
| 51 | + 'description' => __('Give a clear deadline to grab the offer and create a sense of urgency using Countdown Timer', 'retainful-next-order-coupon-for-woocommerce'), |
52 | 52 | 'icon' => 'dashicons-clock'
|
53 | 53 | ),
|
54 | 54 | array(
|
55 |
| - 'title' => __('Exit Intent Popup (Premium)', RNOC_TEXT_DOMAIN), |
56 |
| - 'description' => __('When customers try to leave your store, stop them by showing a coupon code or just collect their email and catch them later.', RNOC_TEXT_DOMAIN), |
| 55 | + 'title' => __('Exit Intent Popup (Premium)', 'retainful-next-order-coupon-for-woocommerce'), |
| 56 | + 'description' => __('When customers try to leave your store, stop them by showing a coupon code or just collect their email and catch them later.', 'retainful-next-order-coupon-for-woocommerce'), |
57 | 57 | 'icon' => 'dashicons-external'
|
58 | 58 | )
|
59 | 59 | );
|
|
66 | 66 | ?>
|
67 | 67 | <div class="rnoc-grid-cell retainful_premium_grid">
|
68 | 68 | <div class="avatar-lg-bg">
|
69 |
| - <i class="dashicons <?php echo $addon['icon']; ?> retain-icon-premium"></i> |
| 69 | + <i class="dashicons <?php echo esc_attr($addon['icon']); ?> retain-icon-premium"></i> |
70 | 70 | </div>
|
71 |
| - <div class="header retainful_premium_heading"><?php echo $addon['title']; ?></div> |
| 71 | + <div class="header retainful_premium_heading"><?php echo esc_html($addon['title']); ?></div> |
72 | 72 | <div class="retainful_premium_para"><p><?php
|
73 |
| - echo $addon['description']; |
| 73 | + echo esc_html($addon['description']); |
74 | 74 | ?></p>
|
75 | 75 | </div>
|
76 | 76 | <div class="footer">
|
77 |
| - <a href="<?php echo $premium_url; ?>" |
| 77 | + <a href="<?php echo esc_url($premium_url); ?>" |
78 | 78 | target="_blank"
|
79 |
| - class="button button-premium"><?php echo __('Upgrade to a Paid Plan', RNOC_TEXT_DOMAIN); ?></a> |
| 79 | + class="button button-premium"><?php echo esc_html__('Upgrade to a Paid Plan', 'retainful-next-order-coupon-for-woocommerce'); ?></a> |
80 | 80 | </div>
|
81 | 81 | </div>
|
82 | 82 | <?php
|
|
0 commit comments