- Timestamp:
- 07/21/2017 09:01:45 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php
r41115 r41116 76 76 $content = apply_filters( 'widget_custom_html_content', $content, $instance, $this ); 77 77 78 // Inject the Text widget's container class name alongside this widget's class name for theme styling compatibility. 79 $args['before_widget'] = preg_replace( '/(?<=\sclass=["\'])/', 'widget_text ', $args['before_widget'] ); 80 78 81 echo $args['before_widget']; 79 82 if ( ! empty( $title ) ) {
Note: See TracChangeset
for help on using the changeset viewer.