WordPress.org

Make WordPress Core

Ticket #23447: 23447_1.patch

File 23447_1.patch, 1013 bytes (added by F J Kaiser, 5 years ago)

Removes the category check, as we already check for hierarchical. Removes part of the string to makes it more generic and force less update on translators.

  • wp-admin/edit-tags.php

     
    372372<div class="form-field">
    373373        <label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label>
    374374        <?php wp_dropdown_categories(array('hide_empty' => 0, 'hide_if_empty' => false, 'taxonomy' => $taxonomy, 'name' => 'parent', 'orderby' => 'name', 'hierarchical' => true, 'show_option_none' => __('None'))); ?>
    375         <?php if ( 'category' == $taxonomy ) : // @todo: Generic text for hierarchical taxonomies ?>
    376                 <p><?php _e('Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.'); ?></p>
     375        <p><?php _e('You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.'); ?></p>
    377376        <?php endif; ?>
    378377</div>
    379378<?php endif; // is_taxonomy_hierarchical() ?>