Make WordPress Core


Ignore:
Timestamp:
06/08/2021 11:38:50 PM (3 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-posts.php

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