| @@ -2,16 +2,16 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Elementor\Modules\Finder; |
| 4 | 4 | |
| 5 | 5 | if ( ! defined( 'ABSPATH' ) ) { |
| 6 | - exit; // Exit if accessed directly. | |
| 6 | + exit; // Exit if accessed directly | |
| 7 | 7 | } |
| 8 | 8 | |
| 9 | 9 | ?> |
| 10 | 10 | <script type="text/template" id="tmpl-elementor-finder"> |
| 11 | 11 | <div id="elementor-finder__search"> |
| 12 | - <i class="eicon-search" aria-hidden="true"></i> | |
| 13 | - <input id="elementor-finder__search__input" placeholder="<?php echo esc_attr__( 'Type to find anything in Elementor', 'elementor' ); ?>" autocomplete="off"> | |
| 12 | + <i class="eicon-search"></i> | |
| 13 | + <input id="elementor-finder__search__input" placeholder="<?php echo esc_html__( 'Type to find anything in Elementor', 'elementor' ); ?>" autocomplete="off"> | |
| 14 | 14 | </div> |
| 15 | 15 | <div id="elementor-finder__content"></div> |
| 16 | 16 | </script> |
| 17 | 17 | |
| @@ -27,17 +27,13 @@ | ||
| 27 | 27 | |
| 28 | 28 | <script type="text/template" id="tmpl-elementor-finder__results__item"> |
| 29 | 29 | <a href="{{ url }}" class="elementor-finder__results__item__link"> |
| 30 | 30 | <div class="elementor-finder__results__item__icon"> |
| 31 | - <i class="eicon-{{{ icon }}}" aria-hidden="true"></i> | |
| 31 | + <i class="eicon-{{{ icon }}}"></i> | |
| 32 | 32 | </div> |
| 33 | 33 | <div class="elementor-finder__results__item__title">{{{ title }}}</div> |
| 34 | 34 | <# if ( description ) { #> |
| 35 | 35 | <div class="elementor-finder__results__item__description">- {{{ description }}}</div> |
| 36 | - <# } #> | |
| 37 | - | |
| 38 | - <# if ( lock ) { #> | |
| 39 | - <div class="elementor-finder__results__item__badge"><i class="{{{ lock.badge.icon }}}"></i>{{ lock.badge.text }}</div> | |
| 40 | 36 | <# } #> |
| 41 | 37 | </a> |
| 42 | 38 | <# if ( actions.length ) { #> |
| 43 | 39 | <div class="elementor-finder__results__item__actions"> |