WordPress.org

Make WordPress Core

Ticket #20205: 20205.2.patch

File 20205.2.patch, 349 bytes (added by jfarthing84, 14 months ago)

Refreshing 20205.patch from trunk.

  • wp-includes/media.php

     
    571571                $html .= ' />'; 
    572572        } 
    573573 
    574         return $html; 
     574        return apply_filters( 'wp_get_attachment_image', $html, $attachment_id, $size, $icon, $attr ); 
    575575} 
    576576 
    577577/**