Ticket #24820: 24820.diff
| File 24820.diff, 1.2 KB (added by , 13 years ago) |
|---|
-
wp-includes/media.php
860 860 'src' => '', 861 861 'loop' => '', 862 862 'autoplay' => '', 863 'preload' => 'none'863 'preload' => 'none' 864 864 ); 865 865 foreach ( $default_types as $type ) 866 866 $defaults_atts[$type] = ''; … … 872 872 if ( ! empty( $src ) ) { 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-media-embedded wp-audio" href="%s">%s</a>', esc_url( $src ), esc_html( $src ) ); 876 876 $primary = true; 877 877 array_unshift( $default_types, 'src' ); 878 878 } else { … … 1007 1007 if ( ! empty( $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-media-embedded wp-video" href="%s">%s</a>', esc_url( $src ), esc_html( $src ) ); 1011 1011 $primary = true; 1012 1012 array_unshift( $default_types, 'src' ); 1013 1013 } else {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)