Make WordPress Core

Ticket #22712: 22712.markup.diff

File 22712.markup.diff, 42.5 KB (added by MikeHansenMe, 12 years ago)

this removes all the markup pages need to be checked to see if any additional css is needed

  • wp-admin/includes/class-wp-posts-list-table.php

     
    476476                $alternate = 'alternate' == $alternate ? '' : 'alternate';
    477477                $classes = $alternate . ' iedit author-' . ( get_current_user_id() == $post->post_author ? 'self' : 'other' );
    478478        ?>
    479                 <tr id="post-<?php echo $post->ID; ?>" class="<?php echo implode( ' ', get_post_class( $classes, $post->ID ) ); ?>" valign="top">
     479                <tr id="post-<?php echo $post->ID; ?>" class="<?php echo implode( ' ', get_post_class( $classes, $post->ID ) ); ?>">
    480480        <?php
    481481
    482482                list( $columns, $hidden ) = $this->get_column_info();
  • wp-admin/includes/class-wp-media-list-table.php

     
    192192                        $post_owner = ( get_current_user_id() == $post->post_author ) ? 'self' : 'other';
    193193                        $att_title = _draft_or_post_title();
    194194?>
    195         <tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
     195        <tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>'>
    196196<?php
    197197
    198198list( $columns, $hidden ) = $this->get_column_info();
  • wp-admin/includes/class-wp-links-list-table.php

     
    114114
    115115                        $edit_link = get_edit_bookmark_link( $link );
    116116?>
    117                 <tr id="link-<?php echo $link->link_id; ?>" valign="middle" <?php echo $style; ?>>
     117                <tr id="link-<?php echo $link->link_id; ?>" <?php echo $style; ?>>
    118118<?php
    119119
    120120                        list( $columns, $hidden ) = $this->get_column_info();
  • wp-admin/includes/template.php

     
    11111111                return;
    11121112
    11131113        foreach ( (array) $wp_settings_fields[$page][$section] as $field ) {
    1114                 echo '<tr valign="top">';
     1114                echo '<tr>';
    11151115                if ( !empty($field['args']['label_for']) )
    11161116                        echo '<th scope="row"><label for="' . esc_attr( $field['args']['label_for'] ) . '">' . $field['title'] . '</label></th>';
    11171117                else
  • wp-admin/includes/ms.php

     
    446446
    447447        foreach ( $blogs as $blog ) {
    448448                $output .= "<tr>";
    449                 $output .= "<td valign='top'>";
     449                $output .= "<td>";
    450450                $output .= "{$blog->blogname}";
    451451                $output .= "</td>";
    452                 $output .= "<td valign='top'>";
     452                $output .= "<td>";
    453453                $output .= "<a href='" . esc_url( get_admin_url( $blog->userblog_id ) ) . "'>" . __( 'Visit Dashboard' ) . "</a> | <a href='" . esc_url( get_home_url( $blog->userblog_id ) ). "'>" . __( 'View Site' ) . "</a>" ;
    454454                $output .= "</td>";
    455455                $output .= "</tr>";
  • wp-admin/includes/class-wp-ms-sites-list-table.php

     
    221221                                        break;
    222222
    223223                                        case 'id':?>
    224                                                 <th valign="top" scope="row">
     224                                                <th scope="row">
    225225                                                        <?php echo $blog['blog_id'] ?>
    226226                                                </th>
    227227                                        <?php
     
    279279                                        break;
    280280
    281281                                        case 'lastupdated':
    282                                                 echo "<td valign='top' class='$column_name column-$column_name'$style>";
     282                                                echo "<td class='$column_name column-$column_name'$style>";
    283283                                                        if ( 'list' == $mode )
    284284                                                                $date = 'Y/m/d';
    285285                                                        else
     
    289289                                        <?php
    290290                                        break;
    291291                                case 'registered':
    292                                                 echo "<td valign='top' class='$column_name column-$column_name'$style>";
     292                                                echo "<td class='$column_name column-$column_name'$style>";
    293293                                                if ( $blog['registered'] == '0000-00-00 00:00:00' )
    294294                                                        echo '&#x2014;';
    295295                                                else
     
    299299                                        <?php
    300300                                        break;
    301301                                case 'users':
    302                                                 echo "<td valign='top' class='$column_name column-$column_name'$style>";
     302                                                echo "<td class='$column_name column-$column_name'$style>";
    303303                                                        $blogusers = get_users( array( 'blog_id' => $blog['blog_id'], 'number' => 6) );
    304304                                                        if ( is_array( $blogusers ) ) {
    305305                                                                $blogusers_warning = '';
     
    323323
    324324                                case 'plugins': ?>
    325325                                        <?php if ( has_filter( 'wpmublogsaction' ) ) {
    326                                         echo "<td valign='top' class='$column_name column-$column_name'$style>";
     326                                        echo "<td class='$column_name column-$column_name'$style>";
    327327                                                do_action( 'wpmublogsaction', $blog['blog_id'] ); ?>
    328328                                        </td>
    329329                                        <?php }
  • wp-admin/includes/media.php

     
    11461146        $display_title
    11471147        <table class='slidetoggle describe $class'>
    11481148                <thead class='media-item-info' id='media-head-$post->ID'>
    1149                 <tr valign='top'>
     1149                <tr>
    11501150                        <td class='A1B1' id='thumbnail-head-$post->ID'>
    11511151                        <p><a href='$attachment_url' target='_blank'><img class='thumbnail' src='$thumb_url' alt='' /></a></p>
    11521152                        <p>$image_edit_button</p>
     
    12311231                $class  = $id;
    12321232                $class .= $field['required'] ? ' form-required' : '';
    12331233
    1234                 $item .= "\t\t<tr class='$class'>\n\t\t\t<th valign='top' scope='row' class='label'><label for='$name'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label></th>\n\t\t\t<td class='field'>";
     1234                $item .= "\t\t<tr class='$class'>\n\t\t\t<th scope='row' class='label'><label for='$name'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label></th>\n\t\t\t<td class='field'>";
    12351235                if ( !empty( $field[ $field['input'] ] ) )
    12361236                        $item .= $field[ $field['input'] ];
    12371237                elseif ( $field['input'] == 'textarea' ) {
     
    13741374                $class .= $field['required'] ? ' form-required' : '';
    13751375
    13761376                $item .= "\t\t<tr class='$class'>";
    1377                 $item .= "\t\t\t<th valign='top' scope='row' class='label'><label for='$id_attr'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label>";
     1377                $item .= "\t\t\t<th scope='row' class='label'><label for='$id_attr'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label>";
    13781378                $item .= "</th>\n\t\t\t<td class='field'>";
    13791379
    13801380                if ( !empty( $field[ $field['input'] ] ) )
     
    20992099        if ( !apply_filters( 'disable_captions', '' ) ) {
    21002100                $caption = '
    21012101                <tr class="image-only">
    2102                         <th valign="top" scope="row" class="label">
     2102                        <th scope="row" class="label">
    21032103                                <label for="caption"><span class="alignleft">' . __('Image Caption') . '</span></label>
    21042104                        </th>
    21052105                        <td class="field"><textarea id="caption" name="caption"></textarea></td>
     
    21242124        <p class="media-types"><label><input type="radio" name="media_type" value="image" id="image-only"' . checked( 'image-only', $view, false ) . ' /> ' . __( 'Image' ) . '</label> &nbsp; &nbsp; <label><input type="radio" name="media_type" value="generic" id="not-image"' . checked( 'not-image', $view, false ) . ' /> ' . __( 'Audio, Video, or Other File' ) . '</label></p>
    21252125        <table class="describe ' . $table_class . '"><tbody>
    21262126                <tr>
    2127                         <th valign="top" scope="row" class="label" style="width:130px;">
     2127                        <th scope="row" class="label" style="width:130px;">
    21282128                                <label for="src"><span class="alignleft">' . __('URL') . '</span></label>
    21292129                                <span class="alignright"><abbr id="status_img" title="required" class="required">*</abbr></span>
    21302130                        </th>
     
    21322132                </tr>
    21332133
    21342134                <tr>
    2135                         <th valign="top" scope="row" class="label">
     2135                        <th scope="row" class="label">
    21362136                                <label for="title"><span class="alignleft">' . __('Title') . '</span></label>
    21372137                                <span class="alignright"><abbr title="required" class="required">*</abbr></span>
    21382138                        </th>
     
    21422142                <tr class="not-image"><td></td><td><p class="help">' . __('Link text, e.g. &#8220;Ransom Demands (PDF)&#8221;') . '</p></td></tr>
    21432143
    21442144                <tr class="image-only">
    2145                         <th valign="top" scope="row" class="label">
     2145                        <th scope="row" class="label">
    21462146                                <label for="alt"><span class="alignleft">' . __('Alternative Text') . '</span></label>
    21472147                        </th>
    21482148                        <td class="field"><input id="alt" name="alt" value="" type="text" aria-required="true" />
     
    21502150                </tr>
    21512151                ' . $caption . '
    21522152                <tr class="align image-only">
    2153                         <th valign="top" scope="row" class="label"><p><label for="align">' . __('Alignment') . '</label></p></th>
     2153                        <th scope="row" class="label"><p><label for="align">' . __('Alignment') . '</label></p></th>
    21542154                        <td class="field">
    21552155                                <input name="align" id="align-none" value="none" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'none' ? ' checked="checked"' : '').' />
    21562156                                <label for="align-none" class="align image-align-none-label">' . __('None') . '</label>
     
    21642164                </tr>
    21652165
    21662166                <tr class="image-only">
    2167                         <th valign="top" scope="row" class="label">
     2167                        <th scope="row" class="label">
    21682168                                <label for="url"><span class="alignleft">' . __('Link Image To:') . '</span></label>
    21692169                        </th>
    21702170                        <td class="field"><input id="url" name="url" value="" type="text" /><br />
  • wp-admin/includes/file.php

     
    10031003        _e('If you do not remember your credentials, you should contact your web host.');
    10041004?></p>
    10051005<table class="form-table">
    1006 <tr valign="top">
     1006<tr>
    10071007<th scope="row"><label for="hostname"><?php _e('Hostname') ?></label></th>
    10081008<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>
    10091009</tr>
    10101010
    1011 <tr valign="top">
     1011<tr>
    10121012<th scope="row"><label for="username"><?php echo $label_user; ?></label></th>
    10131013<td><input name="username" type="text" id="username" value="<?php echo esc_attr($username) ?>"<?php disabled( defined('FTP_USER') ); ?> size="40" /></td>
    10141014</tr>
    10151015
    1016 <tr valign="top">
     1016<tr>
    10171017<th scope="row"><label for="password"><?php echo $label_pass; ?></label></th>
    10181018<td><input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> size="40" /></td>
    10191019</tr>
    10201020
    10211021<?php if ( isset($types['ssh']) ) : ?>
    1022 <tr id="ssh_keys" valign="top" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>">
     1022<tr id="ssh_keys" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>">
    10231023<th scope="row"><?php _e('Authentication Keys') ?>
    10241024<div class="key-labels textright">
    10251025<label for="public_key"><?php _e('Public Key:') ?></label ><br />
     
    10301030</tr>
    10311031<?php endif; ?>
    10321032
    1033 <tr valign="top">
     1033<tr>
    10341034<th scope="row"><?php _e('Connection Type') ?></th>
    10351035<td>
    10361036<fieldset><legend class="screen-reader-text"><span><?php _e('Connection Type') ?></span></legend>
  • wp-admin/options-reading.php

     
    100100                update_option( 'show_on_front', 'posts' );
    101101?>
    102102<table class="form-table">
    103 <tr valign="top">
     103<tr>
    104104<th scope="row"><?php _e( 'Front page displays' ); ?></th>
    105105<td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page displays' ); ?></span></legend>
    106106        <p><label>
     
    123123</fieldset></td>
    124124</tr>
    125125<?php endif; ?>
    126 <tr valign="top">
     126<tr>
    127127<th scope="row"><label for="posts_per_page"><?php _e( 'Blog pages show at most' ); ?></label></th>
    128128<td>
    129129<input name="posts_per_page" type="number" step="1" min="1" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> <?php _e( 'posts' ); ?>
    130130</td>
    131131</tr>
    132 <tr valign="top">
     132<tr>
    133133<th scope="row"><label for="posts_per_rss"><?php _e( 'Syndication feeds show the most recent' ); ?></label></th>
    134134<td><input name="posts_per_rss" type="number" step="1" min="1" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></td>
    135135</tr>
    136 <tr valign="top">
     136<tr>
    137137<th scope="row"><?php _e( 'For each article in a feed, show' ); ?> </th>
    138138<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each article in a feed, show' ); ?> </span></legend>
    139139<p><label><input name="rss_use_excerpt" type="radio" value="0" <?php checked( 0, get_option( 'rss_use_excerpt' ) ); ?>  /> <?php _e( 'Full text' ); ?></label><br />
     
    141141</fieldset></td>
    142142</tr>
    143143
    144 <tr valign="top" class="option-site-visibility">
     144<tr class="option-site-visibility">
    145145<th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </th>
    146146<td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend>
    147147<?php if ( has_action( 'blog_privacy_selector' ) ) : ?>
  • wp-admin/my-sites.php

     
    7575        <?php
    7676        $settings_html = apply_filters( 'myblogs_options', '', 'global' );
    7777        if ( $settings_html != '' ) {
    78                 echo '<tr><td valign="top"><h3>' . __( 'Global Settings' ) . '</h3></td><td>';
     78                echo '<tr><td><h3>' . __( 'Global Settings' ) . '</h3></td><td>';
    7979                echo $settings_html;
    8080                echo '</td></tr>';
    8181        }
     
    100100                $i = 0;
    101101                foreach ( $row as $user_blog ) {
    102102                        $s = $i == 3 ? '' : 'border-right: 1px solid #ccc;';
    103                         echo "<td valign='top' style='$s'>";
     103                        echo "<td style='$s'>";
    104104                        echo "<h3>{$user_blog->blogname}</h3>";
    105105                        echo "<p>" . apply_filters( 'myblogs_blog_actions', "<a href='" . esc_url( get_home_url( $user_blog->userblog_id ) ). "'>" . __( 'Visit' ) . "</a> | <a href='" . esc_url( get_admin_url( $user_blog->userblog_id ) ) . "'>" . __( 'Dashboard' ) . "</a>", $user_blog ) . "</p>";
    106106                        echo apply_filters( 'myblogs_options', '', $user_blog );
  • wp-admin/options-writing.php

     
    6161<?php settings_fields('writing'); ?>
    6262
    6363<table class="form-table">
    64 <tr valign="top">
     64<tr>
    6565<th scope="row"><?php _e('Formatting') ?></th>
    6666<td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend>
    6767<label for="use_smilies">
     
    7070<label for="use_balanceTags"><input name="use_balanceTags" type="checkbox" id="use_balanceTags" value="1" <?php checked('1', get_option('use_balanceTags')); ?> /> <?php _e('WordPress should correct invalidly nested XHTML automatically') ?></label>
    7171</fieldset></td>
    7272</tr>
    73 <tr valign="top">
     73<tr>
    7474<th scope="row"><label for="default_category"><?php _e('Default Post Category') ?></label></th>
    7575<td>
    7676<?php
     
    8383        $post_formats = get_theme_support( 'post-formats' );
    8484        if ( is_array( $post_formats[0] ) ) :
    8585?>
    86 <tr valign="top">
     86<tr>
    8787<th scope="row"><label for="default_post_format"><?php _e('Default Post Format') ?></label></th>
    8888<td>
    8989        <select name="default_post_format" id="default_post_format">
     
    9898
    9999if ( get_option( 'link_manager_enabled' ) ) :
    100100?>
    101 <tr valign="top">
     101<tr>
    102102<th scope="row"><label for="default_link_category"><?php _e('Default Link Category') ?></label></th>
    103103<td>
    104104<?php
     
    129129<p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?></p>
    130130
    131131<table class="form-table">
    132 <tr valign="top">
     132<tr>
    133133<th scope="row"><label for="mailserver_url"><?php _e('Mail Server') ?></label></th>
    134134<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" class="regular-text code" />
    135135<label for="mailserver_port"><?php _e('Port') ?></label>
    136136<input name="mailserver_port" type="text" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" class="small-text" />
    137137</td>
    138138</tr>
    139 <tr valign="top">
     139<tr>
    140140<th scope="row"><label for="mailserver_login"><?php _e('Login Name') ?></label></th>
    141141<td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" class="regular-text ltr" /></td>
    142142</tr>
    143 <tr valign="top">
     143<tr>
    144144<th scope="row"><label for="mailserver_pass"><?php _e('Password') ?></label></th>
    145145<td>
    146146<input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php form_option('mailserver_pass'); ?>" class="regular-text ltr" />
    147147</td>
    148148</tr>
    149 <tr valign="top">
     149<tr>
    150150<th scope="row"><label for="default_email_category"><?php _e('Default Mail Category') ?></label></th>
    151151<td>
    152152<?php
  • wp-admin/custom-background.php

     
    194194<h3><?php _e('Background Image'); ?></h3>
    195195<table class="form-table">
    196196<tbody>
    197 <tr valign="top">
     197<tr>
    198198<th scope="row"><?php _e('Preview'); ?></th>
    199199<td>
    200200<?php
     
    219219</td>
    220220</tr>
    221221<?php if ( get_background_image() ) : ?>
    222 <tr valign="top">
     222<tr>
    223223<th scope="row"><?php _e('Remove Image'); ?></th>
    224224<td>
    225225<form method="post" action="">
     
    233233
    234234<?php $default_image = get_theme_support( 'custom-background', 'default-image' ); ?>
    235235<?php if ( $default_image && get_background_image() != $default_image ) : ?>
    236 <tr valign="top">
     236<tr>
    237237<th scope="row"><?php _e('Restore Original Image'); ?></th>
    238238<td>
    239239<form method="post" action="">
     
    245245</tr>
    246246
    247247<?php endif; ?>
    248 <tr valign="top">
     248<tr>
    249249<th scope="row"><?php _e('Select Image'); ?></th>
    250250<td><form enctype="multipart/form-data" id="upload-form" class="wp-upload-form" method="post" action="">
    251251        <p>
     
    272272<table class="form-table">
    273273<tbody>
    274274<?php if ( get_background_image() ) : ?>
    275 <tr valign="top">
     275<tr>
    276276<th scope="row"><?php _e( 'Position' ); ?></th>
    277277<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Position' ); ?></span></legend>
    278278<label>
     
    290290</fieldset></td>
    291291</tr>
    292292
    293 <tr valign="top">
     293<tr>
    294294<th scope="row"><?php _e( 'Repeat' ); ?></th>
    295295<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend>
    296296<label><input type="radio" name="background-repeat" value="no-repeat"<?php checked('no-repeat', get_theme_mod('background_repeat', 'repeat')); ?> /> <?php _e('No Repeat'); ?></label>
     
    300300</fieldset></td>
    301301</tr>
    302302
    303 <tr valign="top">
     303<tr>
    304304<th scope="row"><?php _e( 'Attachment' ); ?></th>
    305305<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Attachment' ); ?></span></legend>
    306306<label>
     
    314314</fieldset></td>
    315315</tr>
    316316<?php endif; // get_background_image() ?>
    317 <tr valign="top">
     317<tr>
    318318<th scope="row"><?php _e( 'Background Color' ); ?></th>
    319319<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend>
    320320<?php
  • wp-admin/options-discussion.php

     
    3939<?php settings_fields('discussion'); ?>
    4040
    4141<table class="form-table">
    42 <tr valign="top">
     42<tr>
    4343<th scope="row"><?php _e('Default article settings'); ?></th>
    4444<td><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings'); ?></span></legend>
    4545<label for="default_pingback_flag">
     
    5757<small><em><?php echo '(' . __('These settings may be overridden for individual articles.') . ')'; ?></em></small>
    5858</fieldset></td>
    5959</tr>
    60 <tr valign="top">
     60<tr>
    6161<th scope="row"><?php _e('Other comment settings'); ?></th>
    6262<td><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings'); ?></span></legend>
    6363<label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail'); ?></label>
     
    119119?></label>
    120120</fieldset></td>
    121121</tr>
    122 <tr valign="top">
     122<tr>
    123123<th scope="row"><?php _e('E-mail me whenever'); ?></th>
    124124<td><fieldset><legend class="screen-reader-text"><span><?php _e('E-mail me whenever'); ?></span></legend>
    125125<label for="comments_notify">
     
    131131<?php _e('A comment is held for moderation'); ?> </label>
    132132</fieldset></td>
    133133</tr>
    134 <tr valign="top">
     134<tr>
    135135<th scope="row"><?php _e('Before a comment appears'); ?></th>
    136136<td><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears'); ?></span></legend>
    137137<label for="comment_moderation">
     
    141141<label for="comment_whitelist"><input type="checkbox" name="comment_whitelist" id="comment_whitelist" value="1" <?php checked('1', get_option('comment_whitelist')); ?> /> <?php _e('Comment author must have a previously approved comment'); ?></label>
    142142</fieldset></td>
    143143</tr>
    144 <tr valign="top">
     144<tr>
    145145<th scope="row"><?php _e('Comment Moderation'); ?></th>
    146146<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend>
    147147<p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="number" step="1" min="0" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ); ?></label></p>
     
    152152</p>
    153153</fieldset></td>
    154154</tr>
    155 <tr valign="top">
     155<tr>
    156156<th scope="row"><?php _e('Comment Blacklist'); ?></th>
    157157<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist'); ?></span></legend>
    158158<p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.'); ?></label></p>
     
    171171<?php // the above would be a good place to link to codex documentation on the gravatar functions, for putting it in themes. anything like that? ?>
    172172
    173173<table class="form-table">
    174 <tr valign="top">
     174<tr>
    175175<th scope="row"><?php _e('Avatar Display'); ?></th>
    176176<td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar Display'); ?></span></legend>
    177177        <label for="show_avatars">
     
    180180        </label>
    181181</fieldset></td>
    182182</tr>
    183 <tr valign="top">
     183<tr>
    184184<th scope="row"><?php _e('Maximum Rating'); ?></th>
    185185<td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating'); ?></span></legend>
    186186
     
    203203
    204204</fieldset></td>
    205205</tr>
    206 <tr valign="top">
     206<tr>
    207207<th scope="row"><?php _e('Default Avatar'); ?></th>
    208208<td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar'); ?></span></legend>
    209209
  • wp-admin/custom-header.php

     
    464464<table class="form-table">
    465465<tbody>
    466466
    467 <tr valign="top">
     467<tr>
    468468<th scope="row"><?php _e( 'Preview' ); ?></th>
    469469<td>
    470470        <?php if ( $this->admin_image_div_callback ) {
     
    491491</td>
    492492</tr>
    493493<?php if ( current_theme_supports( 'custom-header', 'uploads' ) ) : ?>
    494 <tr valign="top">
     494<tr>
    495495<th scope="row"><?php _e( 'Select Image' ); ?></th>
    496496<td>
    497497        <p><?php _e( 'You can select an image to be shown at the top of your site by uploading from your computer or choosing from your media library. After selecting an image you will be able to crop it.' ); ?><br />
     
    545545<table class="form-table">
    546546<tbody>
    547547        <?php if ( get_uploaded_header_images() ) : ?>
    548 <tr valign="top">
     548<tr>
    549549<th scope="row"><?php _e( 'Uploaded Images' ); ?></th>
    550550<td>
    551551        <p><?php _e( 'You can choose one of your previously uploaded headers, or show a random one.' ) ?></p>
     
    556556</tr>
    557557        <?php endif;
    558558        if ( ! empty( $this->default_headers ) ) : ?>
    559 <tr valign="top">
     559<tr>
    560560<th scope="row"><?php _e( 'Default Images' ); ?></th>
    561561<td>
    562562<?php if ( current_theme_supports( 'custom-header', 'uploads' ) ) : ?>
     
    571571</tr>
    572572        <?php endif;
    573573        if ( get_header_image() ) : ?>
    574 <tr valign="top">
     574<tr>
    575575<th scope="row"><?php _e( 'Remove Image' ); ?></th>
    576576<td>
    577577        <p><?php _e( 'This will remove the header image. You will not be able to restore any customizations.' ) ?></p>
     
    582582
    583583        $default_image = get_theme_support( 'custom-header', 'default-image' );
    584584        if ( $default_image && get_header_image() != $default_image ) : ?>
    585 <tr valign="top">
     585<tr>
    586586<th scope="row"><?php _e( 'Reset Image' ); ?></th>
    587587<td>
    588588        <p><?php _e( 'This will restore the original header image. You will not be able to restore any customizations.' ) ?></p>
     
    599599
    600600<table class="form-table">
    601601<tbody>
    602 <tr valign="top">
     602<tr>
    603603<th scope="row"><?php _e( 'Header Text' ); ?></th>
    604604<td>
    605605        <p>
     
    608608</td>
    609609</tr>
    610610
    611 <tr valign="top" class="displaying-header-text">
     611<tr class="displaying-header-text">
    612612<th scope="row"><?php _e( 'Text Color' ); ?></th>
    613613<td>
    614614        <p>
  • wp-admin/comment.php

     
    175175</tr>
    176176<?php } ?>
    177177<tr>
    178 <th scope="row" valign="top"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
     178<th scope="row"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
    179179<td><?php echo $comment->comment_content; ?></td>
    180180</tr>
    181181</table>
  • wp-admin/options-general.php

     
    9191<?php settings_fields('general'); ?>
    9292
    9393<table class="form-table">
    94 <tr valign="top">
     94<tr>
    9595<th scope="row"><label for="blogname"><?php _e('Site Title') ?></label></th>
    9696<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></td>
    9797</tr>
    98 <tr valign="top">
     98<tr>
    9999<th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th>
    100100<td><input name="blogdescription" type="text" id="blogdescription" value="<?php form_option('blogdescription'); ?>" class="regular-text" />
    101101<p class="description"><?php _e('In a few words, explain what this site is about.') ?></p></td>
    102102</tr>
    103103<?php if ( !is_multisite() ) { ?>
    104 <tr valign="top">
     104<tr>
    105105<th scope="row"><label for="siteurl"><?php _e('WordPress Address (URL)') ?></label></th>
    106106<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>
    107107</tr>
    108 <tr valign="top">
     108<tr>
    109109<th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th>
    110110<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' ?>" />
    111111<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>
    112112</tr>
    113 <tr valign="top">
     113<tr>
    114114<th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th>
    115115<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
    116116<p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td>
    117117</tr>
    118 <tr valign="top">
     118<tr>
    119119<th scope="row"><?php _e('Membership') ?></th>
    120120<td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
    121121<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> />
    122122<?php _e('Anyone can register') ?></label>
    123123</fieldset></td>
    124124</tr>
    125 <tr valign="top">
     125<tr>
    126126<th scope="row"><label for="default_role"><?php _e('New User Default Role') ?></label></th>
    127127<td>
    128128<select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select>
    129129</td>
    130130</tr>
    131131<?php } else { ?>
    132 <tr valign="top">
     132<tr>
    133133<th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
    134134<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
    135135<p class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></p>
     
    304304        $languages = get_available_languages();
    305305        if ( is_multisite() && !empty( $languages ) ):
    306306?>
    307         <tr valign="top">
     307        <tr>
    308308                <th width="33%" scope="row"><?php _e('Site Language') ?></th>
    309309                <td>
    310310                        <select name="WPLANG" id="WPLANG">
  • wp-admin/options-media.php

     
    5050<p><?php _e('The sizes listed below determine the maximum dimensions in pixels to use when inserting an image into the body of a post.'); ?></p>
    5151
    5252<table class="form-table">
    53 <tr valign="top">
     53<tr>
    5454<th scope="row"><?php _e('Thumbnail size') ?></th>
    5555<td>
    5656<label for="thumbnail_size_w"><?php _e('Width'); ?></label>
     
    6262</td>
    6363</tr>
    6464
    65 <tr valign="top">
     65<tr>
    6666<th scope="row"><?php _e('Medium size') ?></th>
    6767<td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend>
    6868<label for="medium_size_w"><?php _e('Max Width'); ?></label>
     
    7272</fieldset></td>
    7373</tr>
    7474
    75 <tr valign="top">
     75<tr>
    7676<th scope="row"><?php _e('Large size') ?></th>
    7777<td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend>
    7878<label for="large_size_w"><?php _e('Max Width'); ?></label>
     
    9999// If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty)
    100100if ( get_option('upload_url_path') || ( get_option('upload_path') != 'wp-content/uploads' && get_option('upload_path') ) ) :
    101101?>
    102 <tr valign="top">
     102<tr>
    103103<th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
    104104<td><input name="upload_path" type="text" id="upload_path" value="<?php echo esc_attr(get_option('upload_path')); ?>" class="regular-text code" />
    105105<p class="description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></p>
    106106</td>
    107107</tr>
    108108
    109 <tr valign="top">
     109<tr>
    110110<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
    111111<td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo esc_attr( get_option('upload_url_path')); ?>" class="regular-text code" />
    112112<p class="description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></p>
  • wp-admin/edit-form-comment.php

     
    2929<div class="inside">
    3030<table class="form-table editcomment">
    3131<tbody>
    32 <tr valign="top">
     32<tr>
    3333        <td class="first"><?php _e( 'Name:' ); ?></td>
    3434        <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
    3535</tr>
    36 <tr valign="top">
     36<tr>
    3737        <td class="first">
    3838        <?php
    3939                if ( $comment->comment_author_email ) {
     
    4444?></td>
    4545        <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" /></td>
    4646</tr>
    47 <tr valign="top">
     47<tr>
    4848        <td class="first">
    4949        <?php
    5050                if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) {
  • wp-admin/edit-tag-form.php

     
    3737<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?>
    3838        <table class="form-table">
    3939                <tr class="form-field form-required">
    40                         <th scope="row" valign="top"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th>
     40                        <th scope="row"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th>
    4141                        <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" />
    4242                        <p class="description"><?php _e('The name is how it appears on your site.'); ?></p></td>
    4343                </tr>
    4444<?php if ( !global_terms_enabled() ) { ?>
    4545                <tr class="form-field">
    46                         <th scope="row" valign="top"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th>
     46                        <th scope="row"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th>
    4747                        <td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo esc_attr(apply_filters('editable_slug', $tag->slug)); ?>" size="40" />
    4848                        <p class="description"><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td>
    4949                </tr>
    5050<?php } ?>
    5151<?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?>
    5252                <tr class="form-field">
    53                         <th scope="row" valign="top"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th>
     53                        <th scope="row"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th>
    5454                        <td>
    5555                                <?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'))); ?>
    5656                                <?php if ( 'category' == $taxonomy ) : ?>
     
    6060                </tr>
    6161<?php endif; // is_taxonomy_hierarchical() ?>
    6262                <tr class="form-field">
    63                         <th scope="row" valign="top"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
     63                        <th scope="row"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
    6464                        <td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea><br />
    6565                        <span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td>
    6666                </tr>
  • wp-admin/network/settings.php

     
    8686                <?php wp_nonce_field( 'siteoptions' ); ?>
    8787                <h3><?php _e( 'Operational Settings' ); ?></h3>
    8888                <table class="form-table">
    89                         <tr valign="top">
     89                        <tr>
    9090                                <th scope="row"><label for="site_name"><?php _e( 'Network Name' ) ?></label></th>
    9191                                <td>
    9292                                        <input name="site_name" type="text" id="site_name" class="regular-text" value="<?php echo esc_attr( $current_site->site_name ) ?>" />
     
    9595                                </td>
    9696                        </tr>
    9797
    98                         <tr valign="top">
     98                        <tr>
    9999                                <th scope="row"><label for="admin_email"><?php _e( 'Network Admin Email' ) ?></label></th>
    100100                                <td>
    101101                                        <input name="admin_email" type="text" id="admin_email" class="regular-text" value="<?php echo esc_attr( get_site_option('admin_email') ) ?>" />
     
    106106                </table>
    107107                <h3><?php _e( 'Registration Settings' ); ?></h3>
    108108                <table class="form-table">
    109                         <tr valign="top">
     109                        <tr>
    110110                                <th scope="row"><?php _e( 'Allow new registrations' ) ?></th>
    111111                                <?php
    112112                                if ( !get_site_option( 'registration' ) )
     
    124124                                </td>
    125125                        </tr>
    126126
    127                         <tr valign="top">
     127                        <tr>
    128128                                <th scope="row"><?php _e( 'Registration notification' ) ?></th>
    129129                                <?php
    130130                                if ( !get_site_option( 'registrationnotification' ) )
     
    135135                                </td>
    136136                        </tr>
    137137
    138                         <tr valign="top" id="addnewusers">
     138                        <tr id="addnewusers">
    139139                                <th scope="row"><?php _e( 'Add New Users' ) ?></th>
    140140                                <td>
    141141                                        <label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ) ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users &rarr; Add New" page.' ); ?></label>
    142142                                </td>
    143143                        </tr>
    144144
    145                         <tr valign="top">
     145                        <tr>
    146146                                <th scope="row"><label for="illegal_names"><?php _e( 'Banned Names' ) ?></label></th>
    147147                                <td>
    148148                                        <input name="illegal_names" type="text" id="illegal_names" class="large-text" value="<?php echo esc_attr( implode( " ", (array) get_site_option( 'illegal_names' ) ) ); ?>" size="45" />
     
    151151                                </td>
    152152                        </tr>
    153153
    154                         <tr valign="top">
     154                        <tr>
    155155                                <th scope="row"><label for="limited_email_domains"><?php _e( 'Limited Email Registrations' ) ?></label></th>
    156156                                <td>
    157157                                        <?php $limited_email_domains = get_site_option( 'limited_email_domains' );
     
    163163                                </td>
    164164                        </tr>
    165165
    166                         <tr valign="top">
     166                        <tr>
    167167                                <th scope="row"><label for="banned_email_domains"><?php _e('Banned Email Domains') ?></label></th>
    168168                                <td>
    169169                                        <textarea name="banned_email_domains" id="banned_email_domains" cols="45" rows="5">
     
    177177                <h3><?php _e('New Site Settings'); ?></h3>
    178178                <table class="form-table">
    179179
    180                         <tr valign="top">
     180                        <tr>
    181181                                <th scope="row"><label for="welcome_email"><?php _e( 'Welcome Email' ) ?></label></th>
    182182                                <td>
    183183                                        <textarea name="welcome_email" id="welcome_email" rows="5" cols="45" class="large-text">
     
    186186                                        <?php _e( 'The welcome email sent to new site owners.' ) ?>
    187187                                </td>
    188188                        </tr>
    189                         <tr valign="top">
     189                        <tr>
    190190                                <th scope="row"><label for="welcome_user_email"><?php _e( 'Welcome User Email' ) ?></label></th>
    191191                                <td>
    192192                                        <textarea name="welcome_user_email" id="welcome_user_email" rows="5" cols="45" class="large-text">
     
    195195                                        <?php _e( 'The welcome email sent to new users.' ) ?>
    196196                                </td>
    197197                        </tr>
    198                         <tr valign="top">
     198                        <tr>
    199199                                <th scope="row"><label for="first_post"><?php _e( 'First Post' ) ?></label></th>
    200200                                <td>
    201201                                        <textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text">
     
    204204                                        <?php _e( 'The first post on a new site.' ) ?>
    205205                                </td>
    206206                        </tr>
    207                         <tr valign="top">
     207                        <tr>
    208208                                <th scope="row"><label for="first_page"><?php _e( 'First Page' ) ?></label></th>
    209209                                <td>
    210210                                        <textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text">
     
    213213                                        <?php _e( 'The first page on a new site.' ) ?>
    214214                                </td>
    215215                        </tr>
    216                         <tr valign="top">
     216                        <tr>
    217217                                <th scope="row"><label for="first_comment"><?php _e( 'First Comment' ) ?></label></th>
    218218                                <td>
    219219                                        <textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text">
     
    222222                                        <?php _e( 'The first comment on a new site.' ) ?>
    223223                                </td>
    224224                        </tr>
    225                         <tr valign="top">
     225                        <tr>
    226226                                <th scope="row"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></th>
    227227                                <td>
    228228                                        <input type="text" size="40" name="first_comment_author" id="first_comment_author" value="<?php echo get_site_option('first_comment_author') ?>" />
     
    230230                                        <?php _e( 'The author of the first comment on a new site.' ) ?>
    231231                                </td>
    232232                        </tr>
    233                         <tr valign="top">
     233                        <tr>
    234234                                <th scope="row"><label for="first_comment_url"><?php _e( 'First Comment URL' ) ?></label></th>
    235235                                <td>
    236236                                        <input type="text" size="40" name="first_comment_url" id="first_comment_url" value="<?php echo esc_attr( get_site_option( 'first_comment_url' ) ) ?>" />
     
    241241                </table>
    242242                <h3><?php _e( 'Upload Settings' ); ?></h3>
    243243                <table class="form-table">
    244                         <tr valign="top">
     244                        <tr>
    245245                                <th scope="row"><?php _e( 'Site upload space' ) ?></th>
    246246                                <td>
    247247                                <label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( get_site_option( 'upload_space_check_disabled' ), 0 ) ?>/> <?php printf( __( 'Limit total size of files uploaded to %s MB' ), '</label><label><input name="blog_upload_space" type="number" min="0" style="width: 100px" id="blog_upload_space" value="' . esc_attr( get_site_option('blog_upload_space', 100) ) . '" />' ); ?></label><br />
    248248                                </td>
    249249                        </tr>
    250250
    251                         <tr valign="top">
     251                        <tr>
    252252                                <th scope="row"><label for="upload_filetypes"><?php _e( 'Upload file types' ) ?></label></th>
    253253                                <td><input name="upload_filetypes" type="text" id="upload_filetypes" class="large-text" value="<?php echo esc_attr( get_site_option('upload_filetypes', 'jpg jpeg png gif') ) ?>" size="45" /></td>
    254254                        </tr>
    255255
    256                         <tr valign="top">
     256                        <tr>
    257257                                <th scope="row"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></th>
    258258                                <td><?php printf( _x( '%s KB', 'File size in kilobytes' ), '<input name="fileupload_maxk" type="number" min="0" style="width: 100px" id="fileupload_maxk" value="' . esc_attr( get_site_option( 'fileupload_maxk', 300 ) ) . '" />' ); ?></td>
    259259                        </tr>
     
    266266?>
    267267                <h3><?php _e( 'Language Settings' ); ?></h3>
    268268                <table class="form-table">
    269                                 <tr valign="top">
     269                                <tr>
    270270                                        <th><label for="WPLANG"><?php _e( 'Default Language' ); ?></label></th>
    271271                                        <td>
    272272                                                <select name="WPLANG" id="WPLANG">
     
    281281
    282282                <h3><?php _e( 'Menu Settings' ); ?></h3>
    283283                <table id="menu" class="form-table">
    284                         <tr valign="top">
     284                        <tr>
    285285                                <th scope="row"><?php _e( 'Enable administration menus' ); ?></th>
    286286                                <td>
    287287                        <?php