diff --git src/wp-includes/link-template.php src/wp-includes/link-template.php
index 4adc6c9..08d7db1 100644
|
|
function get_day_link($year, $month, $day) { |
560 | 560 | * @param string $feed Optional. Feed type. Default empty. |
561 | 561 | */ |
562 | 562 | function the_feed_link( $anchor, $feed = '' ) { |
563 | | $link = '<a href="' . esc_url( get_feed_link( $feed ) ) . '">' . $anchor . '</a>'; |
| 563 | $link = '<a rel="alternate" type="application/rss+xml" href="' . esc_url( get_feed_link( $feed ) ) . '">' . $anchor . '</a>'; |
564 | 564 | |
565 | 565 | /** |
566 | 566 | * Filters the feed link anchor tag. |
… |
… |
function post_comments_feed_link( $link_text = '', $post_id = '', $feed = '' ) { |
699 | 699 | $link_text = __('Comments Feed'); |
700 | 700 | } |
701 | 701 | |
702 | | $link = '<a href="' . esc_url( $url ) . '">' . $link_text . '</a>'; |
| 702 | $link = '<a rel="alternate" type="application/rss+xml" href="' . esc_url( $url ) . '">' . $link_text . '</a>'; |
703 | 703 | /** |
704 | 704 | * Filters the post comment feed link anchor tag. |
705 | 705 | * |