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-admin/edit-form-advanced.php

    r14585 r14614  
    113113        continue;
    114114
    115     $label = isset($taxonomy->label) ? esc_attr($taxonomy->label) : $tax_name;
     115    $label = $taxonomy->labels->name;
    116116
    117117    if ( !is_taxonomy_hierarchical($tax_name) )
Note: See TracChangeset for help on using the changeset viewer.