Changeset 37795
- Timestamp:
- 06/21/2016 02:29:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7/src/wp-includes/post-template.php
r25868 r37795 1205 1205 $link_text = $_post->post_title; 1206 1206 1207 return apply_filters( 'wp_get_attachment_link', "<a href=' $url'>$link_text</a>", $id, $size, $permalink, $icon, $text );1207 return apply_filters( 'wp_get_attachment_link', "<a href='" . esc_url( $url ) . "'>$link_text</a>", $id, $size, $permalink, $icon, $text ); 1208 1208 } 1209 1209
Note: See TracChangeset
for help on using the changeset viewer.