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_DataForms.php +9 -9 5.5.76 → 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-forms-settings-' . WPDA::get_current_user_login() ) ) {
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 WPDA::set_option(
@@ -42,9 +42,9 @@
42 42 <form id="wpda_settings_forms" method="post"
43 43 action="?page=<?php echo esc_attr( $this->page ); ?>&tab=legacy&vtab=dataforms">
44 44 <table class="wpda-table-settings">
45 45 <tr style="border-top: 1px solid #ccc">
46 - <th><?php echo __( 'Allow anonymous access', 'wp-data-access' ); ?></th>
46 + <th><?php esc_html_e( 'Allow anonymous access', 'wp-data-access' ); ?></th>
47 47 <td>
48 48 <label>
49 49 <input type="checkbox" name="allow_anonymous_access" <?php echo 'on' === $allow_anonymous_access ? 'checked' : ''; ?>/>Enabled
50 50 </label>
@@ -50,11 +50,11 @@
50 50 </label>
51 51 </td>
52 52 </tr>
53 53 <tr>
54 - <th><?php echo __( 'Default jQuery UI theme', 'wp-data-access' ); ?></th>
54 + <th><?php esc_html_e( 'Default jQuery UI theme', 'wp-data-access' ); ?></th>
55 55 <td>
56 - <a href="<?php echo admin_url( 'options-general.php' ); // phpcs:ignore WordPress.Security.EscapeOutput ?>?page=wpdataaccess&tab=frontend">
56 + <a href="<?php echo esc_url( admin_url( 'options-general.php' ) ); ?>?page=wpdataaccess&tab=frontend">
57 57 Change default jQuery UI theme
58 58 </a> (used to style <strong>Data Forms</strong>)
59 59 </td>
60 60 </tr>
@@ -61,12 +61,12 @@
61 61 <tr>
62 62 <th><span class="dashicons dashicons-info" style="float:right;font-size:300%;"></span></th>
63 63 <td>
64 64 <span class="dashicons dashicons-yes"></span>
65 - <?php echo __( 'Data Forms are styled according to the default jQuery UI theme', 'wp-data-access' ); ?>
65 + <?php esc_html_e( 'Data Forms are styled according to the default jQuery UI theme', 'wp-data-access' ); ?>
66 66 <br/>
67 67 <span class="dashicons dashicons-yes"></span>
68 - <?php echo __( 'Individual styling per shortcode will be added later', 'wp-data-access' ); ?>
68 + <?php esc_html_e( 'Individual styling per shortcode will be added later', 'wp-data-access' ); ?>
69 69 </td>
70 70 </tr>
71 71 </table>
72 72 <div class="wpda-table-settings-button">
@@ -72,18 +72,18 @@
72 72 <div class="wpda-table-settings-button">
73 73 <input type="hidden" name="action" value="save"/>
74 74 <button type="submit" class="button button-primary">
75 75 <i class="fas fa-check wpda_icon_on_button"></i>
76 - <?php echo __( 'Save Data Forms Settings', 'wp-data-access' ); ?>
76 + <?php esc_html_e( 'Save Data Forms Settings', 'wp-data-access' ); ?>
77 77 </button>
78 78 <a href="javascript:void(0)"
79 - onclick="if (confirm('<?php echo __( 'Reset to defaults?', 'wp-data-access' ); ?>')) {
79 + onclick="if (confirm('<?php esc_html_e( 'Reset to defaults?', 'wp-data-access' ); ?>')) {
80 80 jQuery('input[name=&quot;action&quot;]').val('setdefaults');
81 81 jQuery('#wpda_settings_forms').trigger('submit')
82 82 }"
83 83 class="button">
84 84 <i class="fas fa-times-circle wpda_icon_on_button"></i>
85 - <?php echo __( 'Reset Data Forms Settings To Defaults', 'wp-data-access' ); ?>
85 + <?php esc_html_e( 'Reset Data Forms Settings To Defaults', 'wp-data-access' ); ?>
86 86 </a>
87 87 </div>
88 88 <?php wp_nonce_field( 'wpda-forms-settings-' . WPDA::get_current_user_login(), '_wpnonce', false ); ?>
89 89 </form>