Make WordPress Core

Changeset 48699


Ignore:
Timestamp:
07/31/2020 01:13:36 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Widgets: Use correct escaping function in WP_Widget_Archives::widget().

Props chintan1896, afercia.
See #50826.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-archives.php

    r48410 r48699  
    104104                        ?>
    105105
    106                         <option value=""><?php echo esc_attr( $label ); ?></option>
     106                        <option value=""><?php echo esc_html( $label ); ?></option>
    107107                        <?php wp_get_archives( $dropdown_args ); ?>
    108108
Note: See TracChangeset for help on using the changeset viewer.