Changeset 40167 for branches/4.1/src/wp-includes/media.php
- Timestamp:
- 03/06/2017 12:05:08 PM (8 years ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
-
branches/4.1/src/wp-includes/media.php
r34146 r40167 2298 2298 function wp_embed_handler_youtube( $matches, $attr, $url, $rawattr ) { 2299 2299 global $wp_embed; 2300 $embed = $wp_embed->autoembed( "https://youtube.com/watch?v={$matches[2]}");2300 $embed = $wp_embed->autoembed( sprintf( "https://youtube.com/watch?v=%s", urlencode( $matches[2] ) ) ); 2301 2301 /** 2302 2302 * Filter the YoutTube embed output.
Note: See TracChangeset
for help on using the changeset viewer.