diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php
index 57a7b67..8bb3484 100644
a
|
b
|
function feed_links_extra( $args = array() ) { |
2796 | 2796 | } elseif ( is_search() ) { |
2797 | 2797 | $title = sprintf( $args['searchtitle'], get_bloginfo( 'name' ), $args['separator'], get_search_query( false ) ); |
2798 | 2798 | $href = get_search_feed_link(); |
2799 | | } elseif ( is_post_type_archive() ) { |
2800 | | $title = sprintf( $args['posttypetitle'], get_bloginfo( 'name' ), $args['separator'], post_type_archive_title( '', false ) ); |
2801 | | $post_type_obj = get_queried_object(); |
2802 | | if ( $post_type_obj ) { |
2803 | | $href = get_post_type_archive_feed_link( $post_type_obj->name ); |
2804 | | } |
2805 | 2799 | } |
2806 | 2800 | |
2807 | 2801 | if ( isset( $title ) && isset( $href ) ) { |