Ticket #29119: 29119.patch
File 29119.patch, 440 bytes (added by , 10 years ago) |
---|
-
wp-includes/media.php
diff --git a/wp-includes/media.php b/wp-includes/media.php index bf663b2..ad21992 100644
a b function wp_video_shortcode( $attr, $content = '' ) { 1758 1758 } 1759 1759 } 1760 1760 1761 $yt_pattern = '#^https?://( :?www\.)?(:?youtube\.com/watch|youtu\.be/)#';1761 $yt_pattern = '#^https?://(?:www\.)?(?:youtube\.com/watch|youtu\.be/)#'; 1762 1762 1763 1763 $primary = false; 1764 1764 if ( ! empty( $atts['src'] ) ) {