Make WordPress Core

Ticket #37594: 37594.patch

File 37594.patch, 649 bytes (added by ocean90, 7 years ago)
  • src/wp-admin/includes/template.php

     
    10301030                                                $widget_title = $box[ 'title' ];
    10311031
    10321032                                                if ( is_array( $box[ 'args' ] ) && isset( $box[ 'args' ][ '__widget_basename' ] ) ) {
    1033                                                         $widget_title = esc_html( $box[ 'args' ][ '__widget_basename' ] );
     1033                                                        $widget_title = $box[ 'args' ][ '__widget_basename' ];
    10341034                                                        // Do not pass this parameter to the user callback function.
    10351035                                                        unset( $box[ 'args' ][ '__widget_basename' ] );
    10361036                                                }