Changeset 42001
- Timestamp:
- 10/24/2017 09:31:16 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-text.php
r41867 r42001 293 293 } 294 294 295 $text = preg_replace_callback( '#< [^>]*>#', array( $this, 'inject_video_max_width_style' ), $text );295 $text = preg_replace_callback( '#<(video|iframe|object|embed)\s[^>]*>#i', array( $this, 'inject_video_max_width_style' ), $text ); 296 296 297 297 ?>
Note: See TracChangeset
for help on using the changeset viewer.