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

This reverts the changes from [51114]. 

See #53138.

Unprops whyisjake. 

Built from https://develop.svn.wordpress.org/trunk@51127


git-svn-id: http://core.svn.wordpress.org/trunk@50736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
whyisjake
2021-06-08 23:40:00 +00:00
parent 37652569e4
commit 2e36162a20
5 changed files with 5 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ class WP_Widget_Recent_Posts extends WP_Widget {
public function __construct() {
$widget_ops = array(
'classname' => 'widget_recent_entries',
'description' => html_entity_decode( __( 'Your site’s most recent Posts.' ) ),
'description' => __( 'Your site’s most recent Posts.' ),
'customize_selective_refresh' => true,
'show_instance_in_rest' => true,
);