Changeset 41115
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php
r41086 r41115 80 80 echo $args['before_title'] . $title . $args['after_title']; 81 81 } 82 echo '<div class="textwidget custom-html-widget">'; // The textwidget class is for theme styling compatibility. 82 83 echo $content; 84 echo '</div>'; 83 85 echo $args['after_widget']; 84 86 } -
trunk/tests/phpunit/tests/widgets/custom-html-widget.php
r41086 r41115 71 71 $this->assertNotEmpty( $this->widget_text_args ); 72 72 $this->assertContains( '[filter:widget_text][filter:widget_custom_html_content]', $output ); 73 $this->assertContains( '<div class="textwidget custom-html-widget">', $output ); 73 74 $this->assertNotContains( '<p>', $output ); 74 75 $this->assertNotContains( '<br>', $output );
Note: See TracChangeset
for help on using the changeset viewer.