Make WordPress Core


Ignore:
Timestamp:
05/14/2010 12:34:04 AM (15 years ago)
Author:
nbachiyski
Message:

I18n for custom taxonomies. Fixes #13357

File:
1 edited

Legend:

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

    r14556 r14614  
    589589        $taxonomy = get_query_var( 'taxonomy' );
    590590        $tax = get_taxonomy( $taxonomy );
    591         $tax = $tax->label;
    592591        $term = $wp_query->get_queried_object();
    593592        $term = $term->name;
    594         $title = $tax . $t_sep . $term;
     593        $title = $tax->labels->name . $t_sep . $term;
    595594    }
    596595
Note: See TracChangeset for help on using the changeset viewer.