Make WordPress Core


Ignore:
Timestamp:
01/13/2017 04:18:16 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Taxonomy: Add an explanation for "Parent" dropdown for hierarchical custom taxonomies.

Props F J Kaiser, raggedrobins, DrewAPicture, diddledan, SergeyBiryukov.
Fixes #23447.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-tag-form.php

    r38753 r39895  
    166166                wp_dropdown_categories( $dropdown_args ); ?>
    167167                <?php if ( 'category' == $taxonomy ) : ?>
    168                 <p class="description"><?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>
     168                    <p class="description"><?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>
     169                <?php else : ?>
     170                    <p class="description"><?php _e( 'Assign a parent term to create a hierarchy. The term Jazz, for example, would be the parent of Bebop and Big Band.' ); ?></p>
    169171                <?php endif; ?>
    170172            </td>
Note: See TracChangeset for help on using the changeset viewer.