WordPress.org

Make WordPress Core

Ticket #6228: 6228.b.diff

File 6228.b.diff, 6.5 KB (added by mdawaffe, 6 years ago)
  • wp-admin/users.php

     
    335335        <th><?php _e('Name') ?></th> 
    336336        <th><?php _e('E-mail') ?></th> 
    337337        <th><?php _e('Role') ?></th> 
    338         <th><?php _e('Posts') ?></th> 
     338        <th class="num"><?php _e('Posts') ?></th> 
    339339</tr> 
    340340</thead> 
    341341<tbody id="users" class="list:user user-list"> 
  • wp-admin/edit-link-categories.php

     
    9797        <th scope="col" class="check-column"><input type="checkbox" onclick="checkAll(document.getElementById('posts-filter'));" /></th> 
    9898        <th scope="col"><?php _e('Name') ?></th> 
    9999        <th scope="col"><?php _e('Description') ?></th> 
    100         <th scope="col" style="width: 90px; text-align: center"><?php _e('Links') ?></th> 
     100        <th scope="col" class="num" style="width: 90px;"><?php _e('Links') ?></th> 
    101101        </tr> 
    102102        </thead> 
    103103        <tbody id="the-list" class="list:link-cat"> 
  • wp-admin/includes/template.php

     
    238238                $out .= '<td><strong><a class="row-title" href="edit-tags.php?action=edit&amp;tag_ID=' . $tag->term_id . '">' . 
    239239                        apply_filters( 'term_name', $tag->name ) . '</a></td>'; 
    240240 
    241                 $out .= "<td>$count</td>"; 
     241                $out .= "<td class='num'>$count</td>"; 
    242242                $out .= '</tr>'; 
    243243 
    244244                return $out; 
     
    545545                <td>$user_object->first_name $user_object->last_name</td> 
    546546                <td><a href='mailto:$email' title='" . sprintf( __('e-mail: %s' ), $email ) . "'>$email</a></td> 
    547547                <td>$role_name</td>"; 
    548         $r .= "\n\t\t<td>"; 
     548        $r .= "\n\t\t<td class='num'>"; 
    549549        if ( $numposts > 0 ) { 
    550550                $r .= "<a href='edit.php?author=$user_object->ID' title='" . __( 'View posts by this author' ) . "' class='edit'>"; 
    551551                $r .= $numposts; 
  • wp-admin/edit-tags.php

     
    157157<table class="widefat"> 
    158158        <thead> 
    159159        <tr> 
    160                 <th scope="col" class="check-column"><input type="checkbox" onclick="checkAll(document.getElementById('posts-filter'));" /></th> 
     160        <th scope="col" class="check-column"><input type="checkbox" onclick="checkAll(document.getElementById('posts-filter'));" /></th> 
    161161        <th scope="col"><?php _e('Name') ?></th> 
    162         <th scope="col" style="width: 90px"><?php _e('Posts') ?></th> 
     162        <th scope="col" class="num" style="width: 90px"><?php _e('Posts') ?></th> 
    163163        </tr> 
    164164        </thead> 
    165165        <tbody id="the-list" class="list:tag"> 
  • wp-admin/edit-page-form.php

     
    111111</div> 
    112112 
    113113<p class="submit"> 
    114 <input type="submit" name="save" class="button" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" /> 
     114<input type="submit" name="save" class="button button-highlighted" value="<?php _e('Save'); ?>" tabindex="4" /> 
    115115<?php 
    116116if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) { 
    117117?> 
  • wp-admin/edit-post-rows.php

     
    44        <tr> 
    55 
    66<?php $posts_columns = wp_manage_posts_columns(); ?> 
    7 <?php foreach($posts_columns as $column_display_name) { ?> 
    8         <th scope="col"><?php echo $column_display_name; ?></th> 
     7<?php foreach($posts_columns as $post_column_key => $column_display_name) { 
     8        if ( 'cb' === $post_column_key ) 
     9                $class = ' class="check-column"'; 
     10        elseif ( 'comments' === $post_column_key ) 
     11                $class = ' class="num"'; 
     12        else 
     13                $class = ''; 
     14?> 
     15        <th scope="col"<?php echo $class; ?>><?php echo $column_display_name; ?></th> 
    916<?php } ?> 
    1017 
    1118        </tr> 
  • wp-admin/edit-attachment-rows.php

     
    44        <tr> 
    55 
    66<?php $posts_columns = wp_manage_media_columns(); ?> 
    7 <?php foreach($posts_columns as $column_display_name) { ?> 
    8         <th scope="col"><?php echo $column_display_name; ?></th> 
     7<?php foreach($posts_columns as $post_column_key => $column_display_name) { 
     8        if ( 'cb' === $post_column_key ) 
     9                $class = ' class="check-column"'; 
     10        elseif ( 'comments' === $post_column_key ) 
     11                $class = ' class="num"'; 
     12        else 
     13                $class = ''; 
     14?> 
     15        <th scope="col"<?php echo $class; ?>><?php echo $column_display_name; ?></th> 
    916<?php } ?> 
    1017 
    1118        </tr> 
  • wp-admin/edit-link-form.php

     
    5252</div> 
    5353 
    5454<p class="submit"> 
    55 <input type="submit" class="button" name="save" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" /> 
     55<input type="submit" class="button button-highlighted" name="save" value="<?php _e('Save'); ?>" tabindex="4" /> 
    5656<?php 
    5757if ( ( 'edit' == $action) && current_user_can('manage_links') ) 
    5858        echo "<a class='submitdelete' href='" . wp_nonce_url("link.php?action=delete&amp;link_id=$link_id", 'delete-bookmark_' . $link_id) . "' onclick=\"if ( confirm('" . js_escape( sprintf( __("You are about to delete this link '%s'\n'Cancel' to stop, 'OK' to delete."), $link->link_name )) . "') ) { return true;}return false;\">" . __('Delete&nbsp;link') . "</a>"; 
  • wp-admin/edit-pages.php

     
    137137  <thead> 
    138138  <tr> 
    139139<?php $posts_columns = wp_manage_pages_columns(); ?> 
    140 <?php foreach($posts_columns as $column_display_name) { ?> 
    141         <th scope="col"><?php echo $column_display_name; ?></th> 
     140<?php foreach($posts_columns as $post_column_key => $column_display_name) { 
     141        if ( 'cb' === $post_column_key ) 
     142                $class = ' class="check-column"'; 
     143        elseif ( 'comments' === $post_column_key ) 
     144                $class = ' class="num"'; 
     145        else 
     146                $class = ''; 
     147?> 
     148        <th scope="col"<?php echo $class; ?>><?php echo $column_display_name; ?></th> 
    142149<?php } ?> 
    143150  </tr> 
    144151  </thead>