| @@ -1,4 +1,8 @@ | ||
| 1 | +<?php | |
| 2 | +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- View file, its variables are local to the include scope, not true globals. | |
| 3 | +defined('ABSPATH') || die('Restricted Access'); | |
| 4 | +?> | |
| 1 | 5 | <div id="acym__dtext__picker" class="is-hidden"> |
| 2 | 6 | <div id="acym__dtext__picker__modal" class="padding-1"> |
| 3 | 7 | <i class="acymicon-close" id="acym__dtext__picker__modal__close"></i> |
| 4 | 8 | <div class="grid-x grid-margin-x align-center"> |
| @@ -3,9 +7,9 @@ | ||
| 3 | 7 | <i class="acymicon-close" id="acym__dtext__picker__modal__close"></i> |
| 4 | 8 | <div class="grid-x grid-margin-x align-center"> |
| 5 | 9 | <input type="text" id="acym__dtext__picker__modal__code" class="cell small-8 medium-4" readonly="readonly" /> |
| 6 | 10 | <button type="button" id="acym__dtext__picker__modal__insert" class="cell small-4 medium-shrink button button-primary"> |
| 7 | - <?php echo acym_escape(acym_translation('ACYM_INSERT')); ?> | |
| 11 | + <?php echo esc_html(acym_translation('ACYM_INSERT')); ?> | |
| 8 | 12 | </button> |
| 9 | 13 | </div> |
| 10 | 14 | <?php |
| 11 | 15 | foreach ($data['plugins'] as $onePlugin) { |