PluginProbe
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards / 5.5.85
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards v5.5.85
5.5.85 5.5.84 5.5.83 5.5.82 5.5.81 5.5.80 5.5.79 5.5.77 5.5.76 5.5.75 5.5.73 5.5.72 5.5.22 5.5.23 5.5.29 5.5.3 5.5.31 5.5.32 5.5.34 5.5.35 5.5.36 5.5.37 5.5.4 5.5.40 5.5.41 All 161 releases
← All changes | WPDataAccess/Settings/WPDA_Settings_Uninstall.php +8 -8 5.5.76 → 5.5.85 View file →
@@ -21,9 +21,9 @@
21 21
22 22 // Security check.
23 23 $wp_nonce = isset( $_REQUEST['_wpnonce'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['_wpnonce'] ) ) : ''; // input var okay.
24 24 if ( ! wp_verify_nonce( $wp_nonce, 'wpda-uninstall-settings-' . WPDA::get_current_user_login() ) ) {
25 - wp_die( __( 'ERROR: Not authorized', 'wp-data-access' ) );
25 + wp_die( esc_attr__( 'ERROR: Not authorized', 'wp-data-access' ) );
26 26 }
27 27
28 28 if ( 'save' === $action ) {
29 29
@@ -64,27 +64,27 @@
64 64 action="?page=<?php echo esc_attr( $this->page ); ?>&tab=uninstall">
65 65 <table class="wpda-table-settings">
66 66 <tr>
67 67 <th>
68 - <?php echo __( 'On Plugin Uninstall', 'wp-data-access' ); ?>
68 + <?php esc_html_e( 'On Plugin Uninstall', 'wp-data-access' ); ?>
69 69 </th>
70 70 <td>
71 71 <label>
72 72 <input type="checkbox" name="delete_plugin" style="margin-right: 0" checked
73 73 disabled="disabled">
74 - <?php echo __( 'Delete plugin', 'wp-data-access' ); ?>
74 + <?php esc_html_e( 'Delete plugin', 'wp-data-access' ); ?>
75 75 </label>
76 76 <br/>
77 77 <label>
78 78 <input type="checkbox" name="delete_tables"
79 79 style="margin-right: 0" <?php echo 'on' === $delete_tables ? 'checked' : ''; ?>>
80 - <?php echo __( 'Delete plugin tables (all data will be lost)', 'wp-data-access' ); ?>
80 + <?php esc_html_e( 'Delete plugin tables (all data will be lost)', 'wp-data-access' ); ?>
81 81 </label>
82 82 <br/>
83 83 <label>
84 84 <input type="checkbox" name="delete_options"
85 85 style="margin-right: 0" <?php echo 'on' === $delete_options ? 'checked' : ''; ?>>
86 - <?php echo __( 'Delete plugin settings (all settings will be lost)', 'wp-data-access' ); ?>
86 + <?php esc_html_e( 'Delete plugin settings (all settings will be lost)', 'wp-data-access' ); ?>
87 87 </label>
88 88 </td>
89 89 </tr>
90 90 </table>
@@ -91,18 +91,18 @@
91 91 <div class="wpda-table-settings-button">
92 92 <input type="hidden" name="action" value="save"/>
93 93 <button type="submit" class="button button-primary">
94 94 <i class="fas fa-check wpda_icon_on_button"></i>
95 - <?php echo __( 'Save Uninstall Settings', 'wp-data-access' ); ?>
95 + <?php esc_html_e( 'Save Uninstall Settings', 'wp-data-access' ); ?>
96 96 </button>
97 97 <a href="javascript:void(0)"
98 - onclick="if (confirm('<?php echo __( 'Reset to defaults?', 'wp-data-access' ); ?>')) {
98 + onclick="if (confirm('<?php esc_html_e( 'Reset to defaults?', 'wp-data-access' ); ?>')) {
99 99 jQuery('input[name=\'action\']').val('setdefaults');
100 100 jQuery('#wpda_settings_uninstall').trigger('submit');
101 101 }"
102 102 class="button button-secondary">
103 103 <i class="fas fa-times-circle wpda_icon_on_button"></i>
104 - <?php echo __( 'Reset Uninstall Settings To Defaults', 'wp-data-access' ); ?>
104 + <?php esc_html_e( 'Reset Uninstall Settings To Defaults', 'wp-data-access' ); ?>
105 105 </a>
106 106 </div>
107 107 <?php wp_nonce_field( 'wpda-uninstall-settings-' . WPDA::get_current_user_login(), '_wpnonce', false ); ?>
108 108 </form>