Changeset 37794 for branches/3.8/src/wp-includes/post-template.php
- Timestamp:
- 06/21/2016 02:28:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8/src/wp-includes/post-template.php
r27877 r37794 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.