| @@ -1,5 +1,5 @@ | ||
| 1 | -<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?> | |
| 1 | +<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?> | |
| 2 | 2 | |
| 3 | 3 | <h3><?php esc_html_e('Export / import settings', 'wp-optimize'); ?></h3> |
| 4 | 4 | |
| 5 | 5 | <div id="wp-optimize-export-import-settings" class="wpo-fieldgroup"> |
| @@ -8,9 +8,9 @@ | ||
| 8 | 8 | </p> |
| 9 | 9 | <button type="button" style="clear:left;" class="button-primary" id="wpo-settings-export"><?php esc_html_e('Export settings', 'wp-optimize');?></button> |
| 10 | 10 | |
| 11 | 11 | <p> |
| 12 | - <?php echo __('You can also import previously-exported settings.', 'wp-optimize').' '.__('This tool will replace all your saved settings.', 'wp-optimize'); ?> | |
| 12 | + <?php echo esc_html__('You can also import previously-exported settings.', 'wp-optimize').' '.esc_html__('This tool will replace all your saved settings.', 'wp-optimize'); ?> | |
| 13 | 13 | </p> |
| 14 | 14 | |
| 15 | 15 | <button type="button" style="clear:left;" class="button-primary" id="wpo-settings-import"><?php esc_html_e('Import settings', 'wp-optimize');?></button> |
| 16 | 16 | <input type="file" name="settings_file" id="import_settings"> |