Changeset 47307
- Timestamp:
- 02/18/2020 05:50:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-media-video.php
r47055 r47307 130 130 $vimeo_pattern = '#^https?://(.+\.)?vimeo\.com/.*#'; 131 131 132 if ( $attachment ||preg_match( $youtube_pattern, $src ) || preg_match( $vimeo_pattern, $src ) ) {132 if ( preg_match( $youtube_pattern, $src ) || preg_match( $vimeo_pattern, $src ) ) { 133 133 add_filter( 'wp_video_shortcode', array( $this, 'inject_video_max_width_style' ) ); 134 134
Note: See TracChangeset
for help on using the changeset viewer.