Skip to content

Commit

Permalink
Use wp_specialchars_decode instead
Browse files Browse the repository at this point in the history
  • Loading branch information
bor0 committed Oct 24, 2024
1 parent 9386d6c commit 21769e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function enqueue_wpcom_dashboard_widgets() {

$data = wp_json_encode(
array(
'siteName' => htmlspecialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES ),
'siteName' => wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES ),
'siteDomain' => wp_parse_url( home_url(), PHP_URL_HOST ),
'siteIconUrl' => get_site_icon_url( 38 ),
)
Expand Down

0 comments on commit 21769e3

Please sign in to comment.