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_Legacy_BackEnd.php +27 -27 5.5.73 → 5.5.85 View file →
@@ -14,9 +14,9 @@
14 14
15 15 // Security check.
16 16 $wp_nonce = isset( $_REQUEST['_wpnonce'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['_wpnonce'] ) ) : ''; // input var okay.
17 17 if ( ! wp_verify_nonce( $wp_nonce, 'wpda-back-end-settings' ) ) {
18 - wp_die( __( 'ERROR: Not authorized', 'wp-data-access' ) );
18 + wp_die( esc_attr__( 'ERROR: Not authorized', 'wp-data-access' ) );
19 19 }
20 20
21 21 if ( 'save' === $action ) {
22 22 // Save options.
@@ -155,9 +155,9 @@
155 155 <form id="wpda_settings_backend" method="post"
156 156 action="?page=<?php echo esc_attr( $this->page ); ?>&tab=legacy&vtab=backend">
157 157 <table class="wpda-table-settings">
158 158 <tr style="border-top: 1px solid #ccc">
159 - <th><?php echo __( 'Row access', 'wp-data-access' ); ?></th>
159 + <th><?php esc_html_e( 'Row access', 'wp-data-access' ); ?></th>
160 160 <td>
161 161 <label>
162 162 <input
163 163 type="checkbox"
@@ -162,70 +162,70 @@
162 162 <input
163 163 type="checkbox"
164 164 name="view_link"
165 165 <?php echo 'on' === $view_link ? 'checked' : ''; ?>
166 - ><?php echo __( 'Add view link to list table', 'wp-data-access' ); ?>
166 + ><?php esc_html_e( 'Add view link to list table', 'wp-data-access' ); ?>
167 167 </label>
168 168 </td>
169 169 </tr>
170 170 <tr>
171 - <th scope="row"><?php echo __( 'Allow transactions?', 'wp-data-access' ); ?></th>
171 + <th scope="row"><?php esc_html_e( 'Allow transactions?', 'wp-data-access' ); ?></th>
172 172 <td>
173 173 <label>
174 174 <input type="checkbox" name="allow_insert"
175 - <?php echo 'on' === $allow_insert ? 'checked' : ''; ?> /><?php echo __( 'Allow insert', 'wp-data-access' ); ?>
175 + <?php echo 'on' === $allow_insert ? 'checked' : ''; ?> /><?php esc_html_e( 'Allow insert', 'wp-data-access' ); ?>
176 176 </label>
177 177 <br/>
178 178 <label>
179 179 <input type="checkbox" name="allow_update"
180 - <?php echo 'on' === $allow_update ? 'checked' : ''; ?> /><?php echo __( 'Allow update', 'wp-data-access' ); ?>
180 + <?php echo 'on' === $allow_update ? 'checked' : ''; ?> /><?php esc_html_e( 'Allow update', 'wp-data-access' ); ?>
181 181 </label>
182 182 <br/>
183 183 <label>
184 184 <input type="checkbox" name="allow_delete"
185 - <?php echo 'on' === $allow_delete ? 'checked' : ''; ?> /><?php echo __( 'Allow delete', 'wp-data-access' ); ?>
185 + <?php echo 'on' === $allow_delete ? 'checked' : ''; ?> /><?php esc_html_e( 'Allow delete', 'wp-data-access' ); ?>
186 186 </label>
187 187 </td>
188 188 </tr>
189 189 <tr>
190 - <th scope="row"><?php echo __( 'Allow exports?', 'wp-data-access' ); ?></th>
190 + <th scope="row"><?php esc_html_e( 'Allow exports?', 'wp-data-access' ); ?></th>
191 191 <td>
192 192 <label>
193 193 <input type="checkbox" name="export_rows"
194 - <?php echo 'on' === $export_rows ? 'checked' : ''; ?> /><?php echo __( 'Allow row export', 'wp-data-access' ); ?>
194 + <?php echo 'on' === $export_rows ? 'checked' : ''; ?> /><?php esc_html_e( 'Allow row export', 'wp-data-access' ); ?>
195 195 </label>
196 196 <br/>
197 197 <label>
198 198 <input type="checkbox" name="export_variable_rows"
199 - <?php echo 'on' === $export_variable_rows ? 'checked' : ''; ?> /><?php echo __( 'Export with variable WP prefix', 'wp-data-access' ); ?>
199 + <?php echo 'on' === $export_variable_rows ? 'checked' : ''; ?> /><?php esc_html_e( 'Export with variable WP prefix', 'wp-data-access' ); ?>
200 200 </label>
201 201 </td>
202 202 </tr>
203 203 <tr>
204 - <th scope="row"><?php echo __( 'Allow imports?', 'wp-data-access' ); ?></th>
204 + <th scope="row"><?php esc_html_e( 'Allow imports?', 'wp-data-access' ); ?></th>
205 205 <td>
206 206 <label>
207 207 <input type="checkbox" name="allow_imports"
208 - <?php echo 'on' === $allow_imports ? 'checked' : ''; ?> /><?php echo __( 'Allow to import scripts from Data Explorer table pages', 'wp-data-access' ); ?>
208 + <?php echo 'on' === $allow_imports ? 'checked' : ''; ?> /><?php esc_html_e( 'Allow to import scripts from Data Explorer table pages', 'wp-data-access' ); ?>
209 209 </label>
210 210 </td>
211 211 </tr>
212 212 <tr>
213 - <th><?php echo __( 'Ask for confirmation?', 'wp-data-access' ); ?></th>
213 + <th><?php esc_html_e( 'Ask for confirmation?', 'wp-data-access' ); ?></th>
214 214 <td>
215 215 <label>
216 216 <input type="checkbox" name="confirm_export"
217 - <?php echo 'on' === $confirm_export ? 'checked' : ''; ?> /><?php echo __( 'When starting export', 'wp-data-access' ); ?>
217 + <?php echo 'on' === $confirm_export ? 'checked' : ''; ?> /><?php esc_html_e( 'When starting export', 'wp-data-access' ); ?>
218 218 </label>
219 219 <br/>
220 220 <label>
221 221 <input type="checkbox" name="confirm_view"
222 - <?php echo 'on' === $confirm_view ? 'checked' : ''; ?> /><?php echo __( 'When viewing non WPDA table', 'wp-data-access' ); ?>
222 + <?php echo 'on' === $confirm_view ? 'checked' : ''; ?> /><?php esc_html_e( 'When viewing non WPDA table', 'wp-data-access' ); ?>
223 223 </label>
224 224 </td>
225 225 </tr>
226 226 <tr>
227 - <th><?php echo __( 'Default pagination value', 'wp-data-access' ); ?></th>
227 + <th><?php esc_html_e( 'Default pagination value', 'wp-data-access' ); ?></th>
228 228 <td>
229 229 <input
230 230 type="number" step="1" min="1" max="999" name="pagination" maxlength="3"
231 231 value="<?php echo esc_attr( $pagination ); ?>">
@@ -231,20 +231,20 @@
231 231 value="<?php echo esc_attr( $pagination ); ?>">
232 232 </td>
233 233 </tr>
234 234 <tr>
235 - <th><?php echo __( 'Search box', 'wp-data-access' ); ?></th>
235 + <th><?php esc_html_e( 'Search box', 'wp-data-access' ); ?></th>
236 236 <td>
237 237 <label>
238 238 <input
239 239 type="checkbox"
240 240 name="remember_search" <?php echo 'on' === $remember_search ? 'checked' : ''; ?>
241 - ><?php echo __( 'Remember last search', 'wp-data-access' ); ?>
241 + ><?php esc_html_e( 'Remember last search', 'wp-data-access' ); ?>
242 242 </label>
243 243 </td>
244 244 </tr>
245 245 <tr>
246 - <th><?php echo __( 'Max row count', 'wp-data-access' ); ?></th>
246 + <th><?php esc_html_e( 'Max row count', 'wp-data-access' ); ?></th>
247 247 <td>
248 248 <input
249 249 type="number" step="1" min="1" max="999999" name="innodb_count" maxlength="3"
250 250 value="<?php echo esc_attr( $innodb_count ); ?>">
@@ -272,9 +272,9 @@
272 272 </p>
273 273 </td>
274 274 </tr>
275 275 <tr>
276 - <th><?php echo __( 'Default designer mode', 'wp-data-access' ); ?></th>
276 + <th><?php esc_html_e( 'Default designer mode', 'wp-data-access' ); ?></th>
277 277 <td>
278 278 <select name="design_mode">
279 279 <option value="basic" <?php echo 'basic' === $design_mode ? 'selected' : ''; ?>>Basic
280 280 </option>
@@ -284,15 +284,15 @@
284 284 </select>
285 285 </td>
286 286 </tr>
287 287 <tr>
288 - <th><?php echo __( 'Content wrap', 'wp-data-access' ); ?></th>
288 + <th><?php esc_html_e( 'Content wrap', 'wp-data-access' ); ?></th>
289 289 <td>
290 290 <label>
291 291 <input
292 292 type="checkbox"
293 293 name="text_wrap_switch" <?php echo 'on' === $text_wrap_switch ? 'checked' : ''; ?>
294 - ><?php echo __( 'No content wrap', 'wp-data-access' ); ?>
294 + ><?php esc_html_e( 'No content wrap', 'wp-data-access' ); ?>
295 295 </label>
296 296 <br/>
297 297 <input
298 298 type="number" step="1" min="1" max="999999" name="text_wrap" maxlength="3"
@@ -299,15 +299,15 @@
299 299 value="<?php echo esc_attr( $text_wrap ); ?>">
300 300 </td>
301 301 </tr>
302 302 <tr>
303 - <th><?php echo __( 'Hide button icons', 'wp-data-access' ); ?></th>
303 + <th><?php esc_html_e( 'Hide button icons', 'wp-data-access' ); ?></th>
304 304 <td>
305 305 <label>
306 306 <input
307 307 type="checkbox"
308 308 name="hide_button_icons" <?php echo 'on' === $hide_button_icons ? 'checked' : ''; ?>
309 - ><?php echo __( 'Hide icons on admin buttons', 'wp-data-access' ); ?>
309 + ><?php esc_html_e( 'Hide icons on admin buttons', 'wp-data-access' ); ?>
310 310 </label>
311 311 </td>
312 312 </tr>
313 313 </table>
@@ -314,18 +314,18 @@
314 314 <div class="wpda-table-settings-button">
315 315 <input type="hidden" name="action" value="save"/>
316 316 <button type="submit" class="button button-primary">
317 317 <i class="fas fa-check wpda_icon_on_button"></i>
318 - <?php echo __( 'Save Back-end Settings', 'wp-data-access' ); ?>
318 + <?php esc_html_e( 'Save Back-end Settings', 'wp-data-access' ); ?>
319 319 </button>
320 320 <a href="javascript:void(0)"
321 - onclick="if (confirm('<?php echo __( 'Reset to defaults?', 'wp-data-access' ); ?>')) {
321 + onclick="if (confirm('<?php esc_html_e( 'Reset to defaults?', 'wp-data-access' ); ?>')) {
322 322 jQuery('input[name=&quot;action&quot;]').val('setdefaults');
323 323 jQuery('#wpda_settings_backend').trigger('submit')
324 324 }"
325 325 class="button">
326 326 <i class="fas fa-times-circle wpda_icon_on_button"></i>
327 - <?php echo __( 'Reset Back-end Settings To Defaults', 'wp-data-access' ); ?>
327 + <?php esc_html_e( 'Reset Back-end Settings To Defaults', 'wp-data-access' ); ?>
328 328 </a>
329 329 </div>
330 330 <?php wp_nonce_field( 'wpda-back-end-settings', '_wpnonce', false ); ?>
331 331 </form>