Ticket #20205: media.php.patch
File media.php.patch, 642 bytes (added by , 11 years ago) |
---|
-
wp-includes/media.php
649 649 function wp_get_attachment_image($attachment_id, $size = 'thumbnail', $icon = false, $attr = '') { 650 650 651 651 $html = ''; 652 $image = wp_get_attachment_image_src($attachment_id, $size, $icon);652 $image = apply_filters( 'wp_get_attachment_image_src', wp_get_attachment_image_src($attachment_id, $size, $icon), $attachment_id, $size, $icon ); 653 653 if ( $image ) { 654 654 list($src, $width, $height) = $image; 655 655 $hwstring = image_hwstring($width, $height);