| @@ -81,9 +81,9 @@ | ||
| 81 | 81 | <div id="wpda_project_<?php |
| 82 | 82 | echo esc_attr( $item['page_id'] ); |
| 83 | 83 | ?>" |
| 84 | 84 | title="<?php |
| 85 | - echo __( 'Shortcodes', 'wp-data-access' ); | |
| 85 | + esc_html_e( 'Shortcodes', 'wp-data-access' ); | |
| 86 | 86 | ?>" |
| 87 | 87 | style="display:none" |
| 88 | 88 | > |
| 89 | 89 | <p class="wpda_shortcode_content"> |
| @@ -110,13 +110,13 @@ | ||
| 110 | 110 | ?>" page_id="<?php |
| 111 | 111 | echo esc_attr( $item['page_id'] ); |
| 112 | 112 | ?>"]' |
| 113 | 113 | onclick="jQuery.notify('<?php |
| 114 | - echo __( 'Shortcode successfully copied to clipboard!' ); | |
| 114 | + esc_html_e( 'Shortcode successfully copied to clipboard!', 'wp-data-access' ); | |
| 115 | 115 | ?>','info')" |
| 116 | 116 | > |
| 117 | 117 | <?php |
| 118 | - echo __( 'Copy', 'wp-data-access' ); | |
| 118 | + esc_html_e( 'Copy', 'wp-data-access' ); | |
| 119 | 119 | ?> |
| 120 | 120 | </button> |
| 121 | 121 | <button class="button button-primary wpda_shortcode_button" |
| 122 | 122 | type="button" |
| @@ -122,9 +122,9 @@ | ||
| 122 | 122 | type="button" |
| 123 | 123 | onclick="jQuery('.ui-dialog-content').dialog('close')" |
| 124 | 124 | > |
| 125 | 125 | <?php |
| 126 | - echo __( 'Close', 'wp-data-access' ); | |
| 126 | + esc_html_e( 'Close', 'wp-data-access' ); | |
| 127 | 127 | ?> |
| 128 | 128 | </button> |
| 129 | 129 | </p> |
| 130 | 130 | <?php |
| @@ -133,10 +133,9 @@ | ||
| 133 | 133 | ?> |
| 134 | 134 | <p> |
| 135 | 135 | Shortcode wpdadiehard is not enabled for all output types.<br/> |
| 136 | 136 | <a href="<?php |
| 137 | - echo admin_url( 'options-general.php' ); | |
| 138 | - // phpcs:ignore WordPress.Security.EscapeOutput | |
| 137 | + echo esc_url( admin_url( 'options-general.php' ) ); | |
| 139 | 138 | ?>?page=wpdataaccess" class="wpda_shortcode_link">» Manage settings</a> |
| 140 | 139 | </p> |
| 141 | 140 | <?php |
| 142 | 141 | } |