Make WordPress Core

Ticket #50556: 50556.diff

File 50556.diff, 698 bytes (added by itowhid06, 4 years ago)
  • src/wp-admin/includes/ajax-actions.php

    diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php
    index 680a09ff32..0bebccbae7 100644
    a b function wp_ajax_query_themes() { 
    35613561                        );
    35623562                }
    35633563
    3564                 $theme->name        = wp_kses( $theme->name, $themes_allowedtags );
     3564                $theme->name        = wp_specialchars_decode( wp_kses( $theme->name, $themes_allowedtags ) );
    35653565                $theme->author      = wp_kses( $theme->author['display_name'], $themes_allowedtags );
    35663566                $theme->version     = wp_kses( $theme->version, $themes_allowedtags );
    35673567                $theme->description = wp_kses( $theme->description, $themes_allowedtags );