WordPress.org

Make WordPress Core

Ticket #45023: 45023.diff

File 45023.diff, 2.0 KB (added by joanrho, 20 months ago)

updated parent category description text

  • src/wp-admin/edit-tags.php

    diff --git a/src/wp-admin/edit-tags.php b/src/wp-admin/edit-tags.php
    index 5ab4cac567..9f4ed9cf08 100644
    a b if ( 'category' == $taxonomy || 'link_category' == $taxonomy || 'post_tag' == $t 
    278278                }
    279279
    280280                if ( 'category' == $taxonomy ) {
    281                         $help .= '<li>' . __( '<strong>Parent</strong> &mdash; Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have child categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.' ) . '</li>';
     281                        $help .= '<li>' . __( '<strong>Parent</strong> &mdash; Categories, unlike tags, can have a hierarchy. You might have a Music category, and under that have child categories for Jazz and Rock. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.' ) . '</li>';
    282282                }
    283283
    284284                $help .= '<li>' . __( '<strong>Description</strong> &mdash; The description is not prominent by default; however, some themes may display it.' ) . '</li>' .
    if ( current_user_can( $tax->cap->edit_terms ) ) { 
    478478                wp_dropdown_categories( $dropdown_args );
    479479                ?>
    480480                <?php if ( 'category' == $taxonomy ) : ?>
    481                 <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>
     481                <p><?php _e( 'Categories, unlike tags, can have a hierarchy. You might have a Music category, and under that have children categories for Jazz and Rock. Totally optional.' ); ?></p>
    482482        <?php else : ?>
    483                 <p><?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>
     483                <p><?php _e( 'Assign a parent term to create a hierarchy. The term Music, for example, would be the parent of Jazz and Rock.' ); ?></p>
    484484        <?php endif; ?>
    485485</div>
    486486        <?php endif; // is_taxonomy_hierarchical() ?>