Changeset 40165 for branches/4.3/src/wp-includes/media.php
- Timestamp:
- 03/06/2017 12:04:53 PM (8 years ago)
- Location:
- branches/4.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
-
branches/4.3/src/wp-includes/media.php
r34144 r40165 2402 2402 function wp_embed_handler_youtube( $matches, $attr, $url, $rawattr ) { 2403 2403 global $wp_embed; 2404 $embed = $wp_embed->autoembed( "https://youtube.com/watch?v={$matches[2]}");2404 $embed = $wp_embed->autoembed( sprintf( "https://youtube.com/watch?v=%s", urlencode( $matches[2] ) ) ); 2405 2405 2406 2406 /**
Note: See TracChangeset
for help on using the changeset viewer.