Changeset 37785 for branches/4.4/src/wp-includes/post-template.php
- Timestamp:
- 06/21/2016 02:22:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4/src/wp-includes/post-template.php
r35737 r37785 1448 1448 * @param string|bool $text If string, will be link text. Default false. 1449 1449 */ 1450 return apply_filters( 'wp_get_attachment_link', "<a href=' $url'>$link_text</a>", $id, $size, $permalink, $icon, $text );1450 return apply_filters( 'wp_get_attachment_link', "<a href='" . esc_url( $url ) . "'>$link_text</a>", $id, $size, $permalink, $icon, $text ); 1451 1451 } 1452 1452
Note: See TracChangeset
for help on using the changeset viewer.