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/custom-background.php

    r26878 r27029  
    192192<table class="form-table">
    193193<tbody>
    194 <tr valign="top">
     194<tr>
    195195<th scope="row"><?php _e( 'Preview' ); ?></th>
    196196<td>
     
    222222
    223223<?php if ( get_background_image() ) : ?>
    224 <tr valign="top">
     224<tr>
    225225<th scope="row"><?php _e('Remove Image'); ?></th>
    226226<td>
     
    236236<?php $default_image = get_theme_support( 'custom-background', 'default-image' ); ?>
    237237<?php if ( $default_image && get_background_image() != $default_image ) : ?>
    238 <tr valign="top">
     238<tr>
    239239<th scope="row"><?php _e('Restore Original Image'); ?></th>
    240240<td>
     
    248248<?php endif; ?>
    249249
    250 <tr valign="top">
     250<tr>
    251251<th scope="row"><?php _e('Select Image'); ?></th>
    252252<td><form enctype="multipart/form-data" id="upload-form" class="wp-upload-form" method="post" action="">
     
    275275<tbody>
    276276<?php if ( get_background_image() ) : ?>
    277 <tr valign="top">
     277<tr>
    278278<th scope="row"><?php _e( 'Position' ); ?></th>
    279279<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Position' ); ?></span></legend>
     
    293293</tr>
    294294
    295 <tr valign="top">
     295<tr>
    296296<th scope="row"><?php _e( 'Repeat' ); ?></th>
    297297<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend>
     
    303303</tr>
    304304
    305 <tr valign="top">
     305<tr>
    306306<th scope="row"><?php _ex( 'Attachment', 'Background Attachment' ); ?></th>
    307307<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Attachment' ); ?></span></legend>
     
    317317</tr>
    318318<?php endif; // get_background_image() ?>
    319 <tr valign="top">
     319<tr>
    320320<th scope="row"><?php _e( 'Background Color' ); ?></th>
    321321<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend>
Note: See TracChangeset for help on using the changeset viewer.