WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/02/2014 12:28:45 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Add classes to form containers on taxonomy screens.

props jarednova.
fixes #28196.

File:
1 edited

Legend:

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

    r27029 r29803  
    8181<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?>
    8282    <table class="form-table">
    83         <tr class="form-field form-required">
     83        <tr class="form-field form-required term-name-wrap">
    8484            <th scope="row"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th>
    8585            <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" />
     
    8787        </tr>
    8888<?php if ( !global_terms_enabled() ) { ?>
    89         <tr class="form-field">
     89        <tr class="form-field term-slug-wrap">
    9090            <th scope="row"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th>
    9191            <?php
     
    103103<?php } ?>
    104104<?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?>
    105         <tr class="form-field">
     105        <tr class="form-field term-parent-wrap">
    106106            <th scope="row"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th>
    107107            <td>
     
    113113        </tr>
    114114<?php endif; // is_taxonomy_hierarchical() ?>
    115         <tr class="form-field">
     115        <tr class="form-field term-description-wrap">
    116116            <th scope="row"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
    117117            <td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea><br />
Note: See TracChangeset for help on using the changeset viewer.