Make WordPress Core


Ignore:
Timestamp:
06/08/2021 11:38:50 PM (4 years ago)
Author:
whyisjake
Message:

Widgets: Don't decode HTML entities ahead of the widget constructor.

This reverts the changes from [51114].

See #53138.

Unprops whyisjake.

File:
1 edited

Legend:

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

    r51114 r51127  
    2525        $widget_ops = array(
    2626            'classname'                   => 'widget_recent_comments',
    27             'description'                 => html_entity_decode( __( 'Your site’s most recent comments.' ) ),
     27            'description'                 => __( '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.