Ticket #37594: 37594.patch
File 37594.patch, 649 bytes (added by , 7 years ago) |
---|
-
src/wp-admin/includes/template.php
1030 1030 $widget_title = $box[ 'title' ]; 1031 1031 1032 1032 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' ]; 1034 1034 // Do not pass this parameter to the user callback function. 1035 1035 unset( $box[ 'args' ][ '__widget_basename' ] ); 1036 1036 }