diff --git a/wp-admin/options-privacy.php b/wp-admin/options-privacy.php
index 008ea30fcf..07d16b7954 100644
a
|
b
|
|
10 | 10 | require_once __DIR__ . '/admin.php'; |
11 | 11 | |
12 | 12 | if ( ! current_user_can( 'manage_privacy_options' ) ) { |
13 | | wp_die( __( 'Sorry, you are not allowed to manage privacy options on this site.' ) ); |
| 13 | wp_die( esc_html__( 'Sorry, you are not allowed to manage privacy options on this site.' ) ); |
14 | 14 | } |
15 | 15 | |
16 | 16 | if ( isset( $_GET['tab'] ) && 'policyguide' === $_GET['tab'] ) { |
… |
… |
require_once ABSPATH . 'wp-admin/admin-header.php'; |
175 | 175 | <hr class="wp-header-end"> |
176 | 176 | |
177 | 177 | <div class="notice notice-error hide-if-js"> |
178 | | <p><?php _e( 'The Privacy Settings require JavaScript.' ); ?></p> |
| 178 | <p><?php esc_html_e( 'The Privacy Settings require JavaScript.' ); ?></p> |
179 | 179 | </div> |
180 | 180 | |
181 | 181 | <div class="privacy-settings-body hide-if-no-js"> |
182 | | <h2><?php _e( 'Privacy Settings' ); ?></h2> |
| 182 | <h2><?php esc_html_e( 'Privacy Settings' ); ?></h2> |
183 | 183 | <p> |
184 | | <?php _e( 'As a website owner, you may need to follow national or international privacy laws. For example, you may need to create and display a Privacy Policy.' ); ?> |
185 | | <?php _e( 'If you already have a Privacy Policy page, please select it below. If not, please create one.' ); ?> |
| 184 | <?php esc_html_e( 'As a website owner, you may need to follow national or international privacy laws. For example, you may need to create and display a Privacy Policy.' ); ?> |
| 185 | <?php esc_html_e( 'If you already have a Privacy Policy page, please select it below. If not, please create one.' ); ?> |
186 | 186 | </p> |
187 | 187 | <p> |
188 | | <?php _e( 'The new page will include help and suggestions for your Privacy Policy.' ); ?> |
189 | | <?php _e( 'However, it is your responsibility to use those resources correctly, to provide the information that your Privacy Policy requires, and to keep that information current and accurate.' ); ?> |
| 188 | <?php esc_html_e( 'The new page will include help and suggestions for your Privacy Policy.' ); ?> |
| 189 | <?php esc_html_e( 'However, it is your responsibility to use those resources correctly, to provide the information that your Privacy Policy requires, and to keep that information current and accurate.' ); ?> |
190 | 190 | </p> |
191 | 191 | <p> |
192 | | <?php _e( 'After your Privacy Policy page is set, you should edit it.' ); ?> |
193 | | <?php _e( 'You should also review your Privacy Policy from time to time, especially after installing or updating any themes or plugins. There may be changes or new suggested information for you to consider adding to your policy.' ); ?> |
| 192 | <?php esc_html_e( 'After your Privacy Policy page is set, you should edit it.' ); ?> |
| 193 | <?php esc_html_e( 'You should also review your Privacy Policy from time to time, especially after installing or updating any themes or plugins. There may be changes or new suggested information for you to consider adding to your policy.' ); ?> |
194 | 194 | </p> |
195 | 195 | <p> |
196 | 196 | <?php |
… |
… |
require_once ABSPATH . 'wp-admin/admin-header.php'; |
253 | 253 | <label for="create-page"> |
254 | 254 | <?php |
255 | 255 | if ( $has_pages ) { |
256 | | _e( 'Create a new Privacy Policy Page' ); |
| 256 | esc_html_e( 'Create a new Privacy Policy Page' ); |
257 | 257 | } else { |
258 | | _e( 'There are no pages.' ); |
| 258 | esc_html_e( 'There are no pages.' ); |
259 | 259 | } |
260 | 260 | ?> |
261 | 261 | </label> |
… |
… |
require_once ABSPATH . 'wp-admin/admin-header.php'; |
276 | 276 | <label for="page_for_privacy_policy"> |
277 | 277 | <?php |
278 | 278 | if ( $privacy_policy_page_exists ) { |
279 | | _e( 'Change your Privacy Policy page' ); |
| 279 | esc_attr_e( 'Change your Privacy Policy page' ); |
280 | 280 | } else { |
281 | | _e( 'Select a Privacy Policy page' ); |
| 281 | esc_attr_e( 'Select a Privacy Policy page' ); |
282 | 282 | } |
283 | 283 | ?> |
284 | 284 | </label> |
… |
… |
require_once ABSPATH . 'wp-admin/admin-header.php'; |
292 | 292 | 'name' => 'page_for_privacy_policy', |
293 | 293 | 'show_option_none' => __( '— Select —' ), |
294 | 294 | 'option_none_value' => '0', |
295 | | 'selected' => $privacy_policy_page_id, |
| 295 | 'selected' => esc_html( $privacy_policy_page_id ), |
296 | 296 | 'post_status' => array( 'draft', 'publish' ), |
297 | 297 | ) |
298 | 298 | ); |