Changeset 37789 for branches/4.2/src/wp-includes/post-template.php
- Timestamp:
- 06/21/2016 02:24:16 PM (10 years ago)
- File:
-
- 1 edited
-
branches/4.2/src/wp-includes/post-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2/src/wp-includes/post-template.php
r32081 r37789 1563 1563 * @param string|bool $text If string, will be link text. Default false. 1564 1564 */ 1565 return apply_filters( 'wp_get_attachment_link', "<a href=' $url'>$link_text</a>", $id, $size, $permalink, $icon, $text );1565 return apply_filters( 'wp_get_attachment_link', "<a href='" . esc_url( $url ) . "'>$link_text</a>", $id, $size, $permalink, $icon, $text ); 1566 1566 } 1567 1567
Note: See TracChangeset
for help on using the changeset viewer.