Ticket #42350: 42350.diff
File 42350.diff, 529 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/widgets/class-wp-widget-media-image.php
177 177 $attachment = get_post( $instance['attachment_id'] ); 178 178 } 179 179 if ( $attachment ) { 180 $caption = $attachment->post_excerpt;180 $caption = ""; 181 181 if ( $instance['caption'] ) { 182 182 $caption = $instance['caption']; 183 183 }