WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/17/2012 03:11:29 PM (9 years ago)
Author:
ryan
Message:

Pinking shears

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r22483 r22634  
    16321632        /* translators: 1: blog name, 2: separator(raquo), 3: search phrase */
    16331633        'searchtitle' => __('%1$s %2$s Search Results for “%3$s” Feed'),
    1634         /* translators: 1: blog name, 2: separator(raquo), 3: post type name */ 
    1635         'posttypetitle' => __('%1$s %2$s %3$s Feed'),       
     1634        /* translators: 1: blog name, 2: separator(raquo), 3: post type name */
     1635        'posttypetitle' => __('%1$s %2$s %3$s Feed'),
    16361636    );
    16371637
     
    16641664        $title = sprintf( $args['searchtitle'], get_bloginfo('name'), $args['separator'], get_search_query( false ) );
    16651665        $href = get_search_feed_link();
    1666     } elseif ( is_post_type_archive() ) { 
    1667         $title = sprintf( $args['posttypetitle'], get_bloginfo('name'), $args['separator'], post_type_archive_title( '', false ) ); 
    1668         $href = get_post_type_archive_feed_link( get_queried_object()->name ); 
    1669     } 
     1666    } elseif ( is_post_type_archive() ) {
     1667        $title = sprintf( $args['posttypetitle'], get_bloginfo('name'), $args['separator'], post_type_archive_title( '', false ) );
     1668        $href = get_post_type_archive_feed_link( get_queried_object()->name );
     1669    }
    16701670
    16711671    if ( isset($title) && isset($href) )
Note: See TracChangeset for help on using the changeset viewer.