Make WordPress Core

Ticket #34545: 34545.diff

File 34545.diff, 1.1 KB (added by dlh, 8 years ago)
  • src/wp-admin/edit-tag-form.php

     
    146146<?php } ?>
    147147<?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?>
    148148                <tr class="form-field term-parent-wrap">
    149                         <th scope="row"><label for="parent"><?php _ex( 'Parent', 'term parent' ); ?></label></th>
     149                        <th scope="row"><label for="parent"><?php echo esc_html( $tax->labels->parent_item ); ?></label></th>
    150150                        <td>
    151151                                <?php
    152152                                $dropdown_args = array(
  • src/wp-admin/edit-tags.php

     
    399399<?php endif; // global_terms_enabled() ?>
    400400<?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?>
    401401<div class="form-field term-parent-wrap">
    402         <label for="parent"><?php _ex( 'Parent', 'term parent' ); ?></label>
     402        <label for="parent"><?php echo esc_html( $tax->labels->parent_item ); ?></label>
    403403        <?php
    404404        $dropdown_args = array(
    405405                'hide_empty'       => 0,