Ticket #11794: link-template.php.diff
File link-template.php.diff, 647 bytes (added by , 14 years ago) |
---|
-
link-template.php
old new 389 389 } 390 390 391 391 /** 392 * Display the permalink for the feed type. 393 * 394 * @since 3.0 395 * 396 * @param string $description Link description. 397 * @param string $feed Optional, defaults to default feed. Feed type. 398 */ 399 function the_feed_link( $description, $feed = '' ) { 400 $link = '<a href="' . esc_attr( get_feed_link( $feed ) ) . '">' . $description . '</a>'; 401 $link = apply_filters( 'the_feed_link', $link, $feed ); 402 echo $link; 403 } 404 405 /** 392 406 * Retrieve the permalink for the post comments feed. 393 407 * 394 408 * @since 2.2.0