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_FrontEnd.php +5 -5 5.5.76 → 5.5.85 View file →
@@ -42,9 +42,9 @@
42 42 // Security check.
43 43 $wp_nonce = ( isset( $_REQUEST['_wpnonce'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['_wpnonce'] ) ) : '' );
44 44 // input var okay.
45 45 if ( !wp_verify_nonce( $wp_nonce, 'wpda-front-end-settings-' . WPDA::get_current_user_login() ) ) {
46 - wp_die( __( 'ERROR: Not authorized', 'wp-data-access' ) );
46 + wp_die( esc_attr__( 'ERROR: Not authorized', 'wp-data-access' ) );
47 47 }
48 48 if ( 'save' === $action ) {
49 49 WPDA::set_option( WPDA::OPTION_FE_PAGINATION, ( isset( $_REQUEST['pagination'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['pagination'] ) ) : null ) );
50 50 if ( isset( $_REQUEST['ui_theme'] ) ) {
@@ -71,9 +71,9 @@
71 71 ?>&tab=legacy&vtab=frontend">
72 72 <table class="wpda-table-settings">
73 73 <tr style="border-top: 1px solid #ccc">
74 74 <th><?php
75 - echo __( 'Default pagination value', 'wp-data-access' );
75 + esc_html_e( 'Default pagination value', 'wp-data-access' );
76 76 ?></th>
77 77 <td>
78 78 <input
79 79 type="number" step="1" min="1" max="999" name="pagination" maxlength="3"
@@ -92,14 +92,14 @@
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 95 <?php
96 - echo __( 'Save Front-end Settings', 'wp-data-access' );
96 + esc_html_e( 'Save Front-end Settings', 'wp-data-access' );
97 97 ?>
98 98 </button>
99 99 <a href="javascript:void(0)"
100 100 onclick="if (confirm('<?php
101 - echo __( 'Reset to defaults?', 'wp-data-access' );
101 + esc_html_e( 'Reset to defaults?', 'wp-data-access' );
102 102 ?>')) {
103 103 jQuery('input[name=&quot;action&quot;]').val('setdefaults');
104 104 jQuery('#wpda_settings_frontend').trigger('submit')
105 105 }"
@@ -105,9 +105,9 @@
105 105 }"
106 106 class="button">
107 107 <i class="fas fa-times-circle wpda_icon_on_button"></i>
108 108 <?php
109 - echo __( 'Reset Front-end Settings To Defaults', 'wp-data-access' );
109 + esc_html_e( 'Reset Front-end Settings To Defaults', 'wp-data-access' );
110 110 ?>
111 111 </a>
112 112 </div>
113 113 <?php