WordPress.org

Make WordPress Core

Ticket #44044: 44044.diff

File 44044.diff, 771 bytes (added by desrosj, 3 years ago)
  • src/wp-admin/includes/file.php

     
    19581958 * @return string The HTML for this group and its items.
    19591959 */
    19601960function wp_privacy_generate_personal_data_export_group_html( $group_data ) {
    1961         $allowed_tags      = array(
    1962                 'a' => array(
    1963                         'href'   => array(),
    1964                         'target' => array()
    1965                 ),
    1966                 'br' => array()
    1967         );
    1968         $allowed_protocols = array( 'http', 'https' );
     1961        $allowed_tags      = wp_kses_allowed_html( 'personal_data_export' );
     1962        $allowed_protocols = wp_allowed_protocols();
    19691963        $group_html        = '';
    19701964
    19711965        $group_html .= '<h2>' . esc_html( $group_data['group_label'] ) . '</h2>';