WordPress.org

Make WordPress Core

Ticket #20205: 20205.patch

File 20205.patch, 347 bytes (added by SergeyBiryukov, 3 years ago)
  • wp-includes/media.php

     
    677677                $html .= ' />'; 
    678678        } 
    679679 
    680         return $html; 
     680        return apply_filters( 'wp_get_attachment_image', $html, $attachment_id, $size, $icon ); 
    681681} 
    682682 
    683683/**