Make WordPress Core


Ignore:
Timestamp:
01/24/2014 07:05:15 PM (10 years ago)
Author:
azaozz
Message:

Remove all "valign" attributes from tables in wp-admin, props MikeHansenMe, Marventus. Fixes #22712.

File:
1 edited

Legend:

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

    r26895 r27029  
    8282    <table class="form-table">
    8383        <tr class="form-field form-required">
    84             <th scope="row" valign="top"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th>
     84            <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" />
    8686            <p class="description"><?php _e('The name is how it appears on your site.'); ?></p></td>
     
    8888<?php if ( !global_terms_enabled() ) { ?>
    8989        <tr class="form-field">
    90             <th scope="row" valign="top"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th>
     90            <th scope="row"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th>
    9191            <?php
    9292            /**
     
    104104<?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?>
    105105        <tr class="form-field">
    106             <th scope="row" valign="top"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th>
     106            <th scope="row"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th>
    107107            <td>
    108108                <?php wp_dropdown_categories(array('hide_empty' => 0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude_tree' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?>
     
    114114<?php endif; // is_taxonomy_hierarchical() ?>
    115115        <tr class="form-field">
    116             <th scope="row" valign="top"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
     116            <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 />
    118118            <span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td>
Note: See TracChangeset for help on using the changeset viewer.