Ticket #11846: media.php.diff
File media.php.diff, 553 bytes (added by , 13 years ago) |
---|
-
wp-includes/media.php
561 561 $default_attr = array( 562 562 'src' => $src, 563 563 'class' => "attachment-$size", 564 'alt' => trim(strip_tags( $attachment->post_excerpt)),564 'alt' => trim(strip_tags( get_post_meta($attachment_id, '_wp_attachment_image_alt', true) )), 565 565 'title' => trim(strip_tags( $attachment->post_title )), 566 566 ); 567 567 $attr = wp_parse_args($attr, $default_attr);