Changeset 41054 for branches/4.8/src/wp-includes/media.php
- Timestamp:
- 07/14/2017 05:33:44 PM (7 years ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
-
branches/4.8/src/wp-includes/media.php
r40847 r41054 2557 2557 // Remove all query arguments and force SSL - see #40866. 2558 2558 $parsed_vimeo_url = wp_parse_url( $atts['src'] ); 2559 $atts['src'] = 'https://' . $parsed_vimeo_url['host'] . $parsed_vimeo_url['path']; 2559 $vimeo_src = 'https://' . $parsed_vimeo_url['host'] . $parsed_vimeo_url['path']; 2560 2561 // Add loop param for mejs bug - see #40977, not needed after #39686. 2562 $loop = $atts['loop'] ? '1' : '0'; 2563 $atts['src'] = add_query_arg( 'loop', $loop, $vimeo_src ); 2560 2564 } 2561 2565 }
Note: See TracChangeset
for help on using the changeset viewer.