Make WordPress Core


Ignore:
Timestamp:
06/08/2021 10:16:03 PM (4 years ago)
Author:
whyisjake
Message:

Widgets: Ensure that HTML entities are converted in widget descriptions.

Fixes #53138.

Props justinahinon, audrasjb.

File:
1 edited

Legend:

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

    r50995 r51114  
    2525        $widget_ops = array(
    2626            'classname'                   => 'widget_recent_comments',
    27             'description'                 => __( 'Your site’s most recent comments.' ),
     27            'description'                 => html_entity_decode( __( 'Your site’s most recent comments.' ) ),
    2828            'customize_selective_refresh' => true,
    2929            'show_instance_in_rest'       => true,
Note: See TracChangeset for help on using the changeset viewer.