Changeset 24857 for trunk/wp-includes/media.php
- Timestamp:
- 07/29/2013 06:51:46 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r24837 r24857 861 861 'loop' => '', 862 862 'autoplay' => '', 863 'preload' => 'none'863 'preload' => 'none' 864 864 ); 865 865 foreach ( $default_types as $type ) … … 873 873 $type = wp_check_filetype( $src ); 874 874 if ( ! in_array( $type['ext'], $default_types ) ) 875 return sprintf( '<a class="wp- post-format-link-audio" href="%s">%s</a>', esc_url( $src ), esc_html( $src ) );875 return sprintf( '<a class="wp-embedded-audio" href="%s">%s</a>', esc_url( $src ), esc_html( $src ) ); 876 876 $primary = true; 877 877 array_unshift( $default_types, 'src' ); … … 1008 1008 $type = wp_check_filetype( $src ); 1009 1009 if ( ! in_array( $type['ext'], $default_types ) ) 1010 return sprintf( '<a class="wp- post-format-link-video" href="%s">%s</a>', esc_url( $src ), esc_html( $src ) );1010 return sprintf( '<a class="wp-embedded-video" href="%s">%s</a>', esc_url( $src ), esc_html( $src ) ); 1011 1011 $primary = true; 1012 1012 array_unshift( $default_types, 'src' );
Note: See TracChangeset
for help on using the changeset viewer.