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:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user