Ticket #24060: 24060.2.diff
| File 24060.2.diff, 762 bytes (added by , 13 years ago) |
|---|
-
wp-includes/media.php
2414 2414 if ( ! empty( $medias ) ) { 2415 2415 $media = reset( $medias ); 2416 2416 $sizes = get_intermediate_image_sizes(); 2417 $sizes[] = 'full'; // Add original image source. 2417 2418 2418 2419 $urls = array(); 2419 2420 foreach ( $sizes as $size ) { 2420 2421 $image = wp_get_attachment_image_src( $media->ID, $size ); 2421 if ( $image ) {2422 if ( $image ) 2422 2423 $urls[] = reset( $image ); 2423 $urls[] = get_attachment_link( $media->ID );2424 }2425 2424 } 2426 2425 2426 // Add media permalink. 2427 $urls[] = get_attachment_link( $media->ID ); 2428 2427 2429 $count = 1; 2428 2430 $matches = array(); 2429 2431 $content = $post->post_content;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)