Changeset 47406 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 03/02/2020 06:50:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r47397 r47406 3047 3047 $title = sprintf( $args['searchtitle'], get_bloginfo( 'name' ), $args['separator'], get_search_query( false ) ); 3048 3048 $href = get_search_feed_link(); 3049 } elseif ( is_post_type_archive() ) {3050 $title = sprintf( $args['posttypetitle'], get_bloginfo( 'name' ), $args['separator'], post_type_archive_title( '', false ) );3051 $post_type_obj = get_queried_object();3052 if ( $post_type_obj ) {3053 $href = get_post_type_archive_feed_link( $post_type_obj->name );3054 }3055 3049 } 3056 3050
Note: See TracChangeset
for help on using the changeset viewer.