Remove table cellspacing attribute from the admin, part-props MattyRob, fixes #22086.

git-svn-id: https://develop.svn.wordpress.org/trunk@27036 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2014-01-26 20:27:21 +00:00
parent 01faa993ac
commit 88fecbeff9
10 changed files with 13 additions and 11 deletions

View File

@ -4321,6 +4321,7 @@ td.plugin-title p {
#post-status-info {
width: 100%;
border-spacing: 0;
}
#post-status-info td {
@ -5440,6 +5441,7 @@ p.popular-tags a {
/* links tables */
table.links-table {
width: 100%;
border-spacing: 0;
}
.links-table th {

View File

@ -487,7 +487,7 @@ if ( post_type_supports($post_type, 'editor') ) {
'add_unload_trigger' => false,
),
) ); ?>
<table id="post-status-info" cellspacing="0"><tbody><tr>
<table id="post-status-info"><tbody><tr>
<td id="wp-word-count"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>
<td class="autosave-info">
<span class="autosave-message">&nbsp;</span>

View File

@ -76,7 +76,7 @@ if ( empty( $importers ) ) {
} else {
uasort($importers, create_function('$a, $b', 'return strnatcasecmp($a[0], $b[0]);'));
?>
<table class="widefat importers" cellspacing="0">
<table class="widefat importers">
<?php
$alt = '';

View File

@ -1419,7 +1419,7 @@ function wp_ajax_find_posts() {
if ( ! $posts )
wp_die( __('No items found.') );
$html = '<table class="widefat" cellspacing="0"><thead><tr><th class="found-radio"><br /></th><th>'.__('Title').'</th><th class="no-break">'.__('Type').'</th><th class="no-break">'.__('Date').'</th><th class="no-break">'.__('Status').'</th></tr></thead><tbody>';
$html = '<table class="widefat"><thead><tr><th class="found-radio"><br /></th><th>'.__('Title').'</th><th class="no-break">'.__('Type').'</th><th class="no-break">'.__('Date').'</th><th class="no-break">'.__('Status').'</th></tr></thead><tbody>';
foreach ( $posts as $post ) {
$title = trim( $post->post_title ) ? $post->post_title : __( '(no title)' );

View File

@ -316,7 +316,7 @@ class WP_Comments_List_Table extends WP_List_Table {
$this->display_tablenav( 'top' );
?>
<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0">
<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>">
<thead>
<tr>
<?php $this->print_column_headers(); ?>
@ -602,7 +602,7 @@ class WP_Post_Comments_List_Table extends WP_Comments_List_Table {
wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
?>
<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0" style="display:none;">
<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" style="display:none;">
<tbody id="the-comment-list"<?php if ( $singular ) echo " data-wp-lists='list:$singular'"; ?>>
<?php if ( ! $output_empty ) $this->display_rows_or_placeholder(); ?>
</tbody>

View File

@ -773,7 +773,7 @@ class WP_List_Table {
$this->display_tablenav( 'top' );
?>
<table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0">
<table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>">
<thead>
<tr>
<?php $this->print_column_headers(); ?>

View File

@ -2139,7 +2139,7 @@ jQuery(function($){
<form enctype="multipart/form-data" method="post" action="<?php echo esc_url( $form_action_url ); ?>" class="<?php echo $form_class; ?>" id="gallery-form">
<?php wp_nonce_field('media-form'); ?>
<?php //media_upload_form( $errors ); ?>
<table class="widefat" cellspacing="0">
<table class="widefat">
<thead><tr>
<th><?php _e('Media'); ?></th>
<th class="order-head"><?php _e('Order'); ?></th>

View File

@ -900,7 +900,7 @@ function xfn_check( $class, $value = '', $deprecated = '' ) {
*/
function link_xfn_meta_box($link) {
?>
<table class="links-table" cellspacing="0">
<table class="links-table">
<tr>
<th scope="row"><label for="link_rel"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('rel:') ?></label></th>
<td><input type="text" name="link_rel" id="link_rel" value="<?php echo ( isset( $link->link_rel ) ? esc_attr($link->link_rel) : ''); ?>" /></td>

View File

@ -550,7 +550,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div id="menu-locations-wrap">
<form method="post" action="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>">
<table class="widefat fixed" cellspacing="0" id="menu-locations-table">
<table class="widefat fixed" id="menu-locations-table">
<thead>
<tr>
<th scope="col" class="manage-column column-locations"><?php _e( 'Theme Location' ); ?></th>

View File

@ -220,7 +220,7 @@ function list_plugin_updates() {
<form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-plugins" class="upgrade">
<?php wp_nonce_field('upgrade-core'); ?>
<p><input id="upgrade-plugins" class="button" type="submit" value="<?php esc_attr_e('Update Plugins'); ?>" name="upgrade" /></p>
<table class="widefat" cellspacing="0" id="update-plugins-table">
<table class="widefat" id="update-plugins-table">
<thead>
<tr>
<th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all" /></th>
@ -298,7 +298,7 @@ function list_theme_updates() {
<form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-themes" class="upgrade">
<?php wp_nonce_field('upgrade-core'); ?>
<p><input id="upgrade-themes" class="button" type="submit" value="<?php esc_attr_e('Update Themes'); ?>" name="upgrade" /></p>
<table class="widefat" cellspacing="0" id="update-themes-table">
<table class="widefat" id="update-themes-table">
<thead>
<tr>
<th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all" /></th>