| @@ -1,6 +1,5 @@ | ||
| 1 | 1 | <?php |
| 2 | -if ( ! defined( 'ABSPATH' ) ) exit; | |
| 3 | 2 | function tcmp_notice_pro_features() { |
| 4 | 3 | global $tcmp; |
| 5 | 4 | ?> |
| 6 | 5 | <br/> |
| @@ -31,9 +30,9 @@ | ||
| 31 | 30 | while ( $tcmp->lang->H( 'Notice.ProFeature' . $i ) ) { |
| 32 | 31 | ?> |
| 33 | 32 | <div style="clear:both; margin-top: 2px;"></div> |
| 34 | 33 | <div style="float:left; vertical-align:middle; height:24px; margin-right:5px; margin-top:-5px;"> |
| 35 | - <img src="<?php echo esc_url( TCMP_PLUGIN_IMAGES_URI . 'tick.png' ); ?>" /> | |
| 34 | + <img src="<?php echo TCMP_PLUGIN_IMAGES_URI; ?>tick.png" /> | |
| 36 | 35 | </div> |
| 37 | 36 | <div style="float:left; vertical-align:middle; height:24px;"> |
| 38 | 37 | <?php $tcmp->lang->P( 'Notice.ProFeature' . $i, $q ); ?> |
| 39 | 38 | </div> |
| @@ -47,9 +46,9 @@ | ||
| 47 | 46 | <?php |
| 48 | 47 | $url = TCMP_PAGE_PREMIUM . '?utm_source=free-users&utm_medium=wp-cta&utm_campaign=wp-plugin'; |
| 49 | 48 | ?> |
| 50 | 49 | <a href="<?php echo esc_url( $url ); ?>" target="_blank"> |
| 51 | - <b><?php $tcmp->lang->P( 'Notice.ProCTA' ); ?></b> | |
| 50 | + <b><?php esc_html( $tcmp->lang->P( 'Notice.ProCTA' ) ); ?></b> | |
| 52 | 51 | </a> |
| 53 | 52 | </div> |
| 54 | 53 | <div style="height:10px; clear:both;"></div> |
| 55 | 54 | </div> |