Changeset 37786 for branches/4.3/src/wp-includes/post-template.php
- Timestamp:
- 06/21/2016 02:23:11 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3/src/wp-includes/post-template.php
r32892 r37786 1598 1598 * @param string|bool $text If string, will be link text. Default false. 1599 1599 */ 1600 return apply_filters( 'wp_get_attachment_link', "<a href=' $url'>$link_text</a>", $id, $size, $permalink, $icon, $text );1600 return apply_filters( 'wp_get_attachment_link', "<a href='" . esc_url( $url ) . "'>$link_text</a>", $id, $size, $permalink, $icon, $text ); 1601 1601 } 1602 1602
Note: See TracChangeset
for help on using the changeset viewer.