WordPress.org

Make WordPress Core

Ticket #41392: 41392.0.diff

File 41392.0.diff, 572 bytes (added by westonruter, 2 years ago)
  • src/wp-includes/widgets/class-wp-widget-custom-html.php

    diff --git src/wp-includes/widgets/class-wp-widget-custom-html.php src/wp-includes/widgets/class-wp-widget-custom-html.php
    index 5de618285f..2e30754ec7 100644
    class WP_Widget_Custom_HTML extends WP_Widget { 
    7979                if ( ! empty( $title ) ) {
    8080                        echo $args['before_title'] . $title . $args['after_title'];
    8181                }
     82                echo '<div class="textwidget custom-html-widget">';
    8283                echo $content;
     84                echo '</div>';
    8385                echo $args['after_widget'];
    8486        }
    8587