WordPress.org

Make WordPress Core

Ticket #27942: 27942.patch

File 27942.patch, 415 bytes (added by BandonRandon, 7 years ago)
  • src/wp-includes/formatting.php

    diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php
    index 77ecbcd..20e7b5e 100644
    a b function sanitize_option($option, $value) { 
    32673267
    32683268                case 'blogdescription':
    32693269                case 'blogname':
    3270                         $value = wp_kses_post( $value );
     3270                        $value = htmlentities2($value);
    32713271                        $value = esc_html( $value );
    32723272                        break;
    32733273