diff --git src/wp-admin/includes/user.php src/wp-admin/includes/user.php
index d477262..74b7c9b 100644
|
|
function _wp_personal_data_export_page() { |
830 | 830 | |
831 | 831 | <?php settings_errors(); ?> |
832 | 832 | |
833 | | <form action="<?php echo admin_url( 'tools.php?page=export_personal_data' ); ?>" method="post" class="wp-privacy-request-form"> |
| 833 | <form action="<?php echo esc_url( admin_url( 'tools.php?page=export_personal_data' ) ); ?>" method="post" class="wp-privacy-request-form"> |
834 | 834 | <h2><?php esc_html_e( 'Add Data Export Request' ); ?></h2> |
835 | 835 | <p><?php esc_html_e( 'An email will be sent to the user at this email address asking them to verify the request.' ); ?></p> |
836 | 836 | |
… |
… |
function _wp_personal_data_removal_page() { |
914 | 914 | |
915 | 915 | <?php settings_errors(); ?> |
916 | 916 | |
917 | | <form action="<?php echo admin_url( 'tools.php?page=remove_personal_data' ); ?>" method="post" class="wp-privacy-request-form"> |
| 917 | <form action="<?php echo esc_url( admin_url( 'tools.php?page=remove_personal_data' ) ); ?>" method="post" class="wp-privacy-request-form"> |
918 | 918 | <h2><?php esc_html_e( 'Add Data Erasure Request' ); ?></h2> |
919 | 919 | <p><?php esc_html_e( 'An email will be sent to the user at this email address asking them to verify the request.' ); ?></p> |
920 | 920 | |