Changeset 37790
- Timestamp:
- 06/21/2016 02:24:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1/src/wp-includes/post-template.php
r30913 r37790 1507 1507 * @param string|bool $text If string, will be link text. Default false. 1508 1508 */ 1509 return apply_filters( 'wp_get_attachment_link', "<a href=' $url'>$link_text</a>", $id, $size, $permalink, $icon, $text );1509 return apply_filters( 'wp_get_attachment_link', "<a href='" . esc_url( $url ) . "'>$link_text</a>", $id, $size, $permalink, $icon, $text ); 1510 1510 } 1511 1511
Note: See TracChangeset
for help on using the changeset viewer.