WordPress.org

Make WordPress Core

Ticket #27942: 27942.2.patch

File 27942.2.patch, 417 bytes (added by BandonRandon, 7 years ago)

Add spacing around attribute

  • src/wp-includes/formatting.php

    diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php
    index 3828c6a..4649a89 100644
    a b function sanitize_option($option, $value) { 
    33023302
    33033303                case 'blogdescription':
    33043304                case 'blogname':
    3305                         $value = wp_kses_post( $value );
     3305                        $value = htmlentities2( $value );
    33063306                        $value = esc_html( $value );
    33073307                        break;
    33083308