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/options-general.php

    r26571 r27029  
    9191
    9292<table class="form-table">
    93 <tr valign="top">
     93<tr>
    9494<th scope="row"><label for="blogname"><?php _e('Site Title') ?></label></th>
    9595<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></td>
    9696</tr>
    97 <tr valign="top">
     97<tr>
    9898<th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th>
    9999<td><input name="blogdescription" type="text" id="blogdescription" value="<?php form_option('blogdescription'); ?>" class="regular-text" />
     
    101101</tr>
    102102<?php if ( !is_multisite() ) { ?>
    103 <tr valign="top">
     103<tr>
    104104<th scope="row"><label for="siteurl"><?php _e('WordPress Address (URL)') ?></label></th>
    105105<td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) echo ' disabled' ?>" /></td>
    106106</tr>
    107 <tr valign="top">
     107<tr>
    108108<th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th>
    109109<td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" />
    110110<p class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></p></td>
    111111</tr>
    112 <tr valign="top">
     112<tr>
    113113<th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th>
    114114<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
    115115<p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td>
    116116</tr>
    117 <tr valign="top">
     117<tr>
    118118<th scope="row"><?php _e('Membership') ?></th>
    119119<td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
     
    122122</fieldset></td>
    123123</tr>
    124 <tr valign="top">
     124<tr>
    125125<th scope="row"><label for="default_role"><?php _e('New User Default Role') ?></label></th>
    126126<td>
     
    129129</tr>
    130130<?php } else { ?>
    131 <tr valign="top">
     131<tr>
    132132<th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
    133133<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
     
    307307    if ( is_multisite() && !empty( $languages ) ):
    308308?>
    309     <tr valign="top">
     309    <tr>
    310310        <th width="33%" scope="row"><?php _e('Site Language') ?></th>
    311311        <td>
Note: See TracChangeset for help on using the changeset viewer.