Changeset 40892 for trunk/src/wp-includes/media.php
- Timestamp:
- 06/09/2017 07:28:12 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r40847 r40892 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.