mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Widgets: Don't decode HTML entities ahead of the widget constructor.
This reverts the changes from [51114]. See #53138. Unprops whyisjake. git-svn-id: https://develop.svn.wordpress.org/trunk@51127 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
387f3eebf2
commit
c4373a7004
@ -24,7 +24,7 @@ class WP_Widget_Archives extends WP_Widget {
|
||||
public function __construct() {
|
||||
$widget_ops = array(
|
||||
'classname' => 'widget_archive',
|
||||
'description' => html_entity_decode( __( 'A monthly archive of your site’s Posts.' ) ),
|
||||
'description' => __( 'A monthly archive of your site’s Posts.' ),
|
||||
'customize_selective_refresh' => true,
|
||||
'show_instance_in_rest' => true,
|
||||
);
|
||||
|
||||
@ -26,7 +26,7 @@ class WP_Widget_Meta extends WP_Widget {
|
||||
public function __construct() {
|
||||
$widget_ops = array(
|
||||
'classname' => 'widget_meta',
|
||||
'description' => html_entity_decode( __( 'Login, RSS, & WordPress.org links.' ) ),
|
||||
'description' => __( 'Login, RSS, & WordPress.org links.' ),
|
||||
'customize_selective_refresh' => true,
|
||||
'show_instance_in_rest' => true,
|
||||
);
|
||||
|
||||
@ -24,7 +24,7 @@ class WP_Widget_Recent_Comments extends WP_Widget {
|
||||
public function __construct() {
|
||||
$widget_ops = array(
|
||||
'classname' => 'widget_recent_comments',
|
||||
'description' => html_entity_decode( __( 'Your site’s most recent comments.' ) ),
|
||||
'description' => __( 'Your site’s most recent comments.' ),
|
||||
'customize_selective_refresh' => true,
|
||||
'show_instance_in_rest' => true,
|
||||
);
|
||||
|
||||
@ -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,
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user