Make WordPress Core


Ignore:
Timestamp:
01/24/2014 07:05:15 PM (11 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/includes/file.php

    r26868 r27029  
    10531053?></p>
    10541054<table class="form-table">
    1055 <tr valign="top">
     1055<tr>
    10561056<th scope="row"><label for="hostname"><?php _e('Hostname') ?></label></th>
    10571057<td><input name="hostname" type="text" id="hostname" value="<?php echo esc_attr($hostname); if ( !empty($port) ) echo ":$port"; ?>"<?php disabled( defined('FTP_HOST') ); ?> size="40" /></td>
    10581058</tr>
    10591059
    1060 <tr valign="top">
     1060<tr>
    10611061<th scope="row"><label for="username"><?php echo $label_user; ?></label></th>
    10621062<td><input name="username" type="text" id="username" value="<?php echo esc_attr($username) ?>"<?php disabled( defined('FTP_USER') ); ?> size="40" /></td>
    10631063</tr>
    10641064
    1065 <tr valign="top">
     1065<tr>
    10661066<th scope="row"><label for="password"><?php echo $label_pass; ?></label></th>
    10671067<td><div><input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> size="40" /></div>
     
    10701070
    10711071<?php if ( isset($types['ssh']) ) : ?>
    1072 <tr id="ssh_keys" valign="top" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>">
     1072<tr id="ssh_keys" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>">
    10731073<th scope="row"><?php _e('Authentication Keys') ?>
    10741074<div class="key-labels textright">
     
    10811081<?php endif; ?>
    10821082
    1083 <tr valign="top">
     1083<tr>
    10841084<th scope="row"><?php _e('Connection Type') ?></th>
    10851085<td>
Note: See TracChangeset for help on using the changeset viewer.