Ticket #23447: 23447.6.diff
File 23447.6.diff, 2.1 KB (added by , 8 years ago) |
---|
-
src/wp-admin/edit-tag-form.php
165 165 $dropdown_args = apply_filters( 'taxonomy_parent_dropdown_args', $dropdown_args, $taxonomy, 'edit' ); 166 166 wp_dropdown_categories( $dropdown_args ); ?> 167 167 <?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> 169 171 <?php endif; ?> 170 172 </td> 171 173 </tr> -
src/wp-admin/edit-tags.php
436 436 437 437 wp_dropdown_categories( $dropdown_args ); 438 438 ?> 439 <?php if ( 'category' == $taxonomy ) : // @todo: Generic text for hierarchical taxonomies ?> 440 <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> 439 <?php if ( 'category' == $taxonomy ) : ?> 440 <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> 441 <?php else : ?> 442 <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> 441 443 <?php endif; ?> 442 444 </div> 443 445 <?php endif; // is_taxonomy_hierarchical() ?>