Changeset 30161
- Timestamp:
- 11/01/2014 09:46:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r30122 r30161 1050 1050 $attr = ( trim( $attachment->post_excerpt ) ) ? array( 'aria-describedby' => "$selector-$id" ) : ''; 1051 1051 if ( ! empty( $atts['link'] ) && 'file' === $atts['link'] ) { 1052 $image_output = wp_get_attachment_link( $id, $atts['size'], false, false, $attr );1052 $image_output = wp_get_attachment_link( $id, $atts['size'], false, false, false, $attr ); 1053 1053 } elseif ( ! empty( $atts['link'] ) && 'none' === $atts['link'] ) { 1054 1054 $image_output = wp_get_attachment_image( $id, $atts['size'], false, $attr );
Note: See TracChangeset
for help on using the changeset viewer.