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

Built from https://develop.svn.wordpress.org/trunk@27036


git-svn-id: http://core.svn.wordpress.org/trunk@26912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-01-26 20:28:12 +00:00
parent 61540893f3
commit 87589dd445
13 changed files with 17 additions and 13 deletions

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

View File

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

View File

@ -1419,7 +1419,7 @@ function wp_ajax_find_posts() {
if ( ! $posts ) if ( ! $posts )
wp_die( __('No items found.') ); 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 ) { foreach ( $posts as $post ) {
$title = trim( $post->post_title ) ? $post->post_title : __( '(no title)' ); $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' ); $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> <thead>
<tr> <tr>
<?php $this->print_column_headers(); ?> <?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' ); 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'"; ?>> <tbody id="the-comment-list"<?php if ( $singular ) echo " data-wp-lists='list:$singular'"; ?>>
<?php if ( ! $output_empty ) $this->display_rows_or_placeholder(); ?> <?php if ( ! $output_empty ) $this->display_rows_or_placeholder(); ?>
</tbody> </tbody>

View File

@ -773,7 +773,7 @@ class WP_List_Table {
$this->display_tablenav( 'top' ); $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> <thead>
<tr> <tr>
<?php $this->print_column_headers(); ?> <?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"> <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 wp_nonce_field('media-form'); ?>
<?php //media_upload_form( $errors ); ?> <?php //media_upload_form( $errors ); ?>
<table class="widefat" cellspacing="0"> <table class="widefat">
<thead><tr> <thead><tr>
<th><?php _e('Media'); ?></th> <th><?php _e('Media'); ?></th>
<th class="order-head"><?php _e('Order'); ?></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) { function link_xfn_meta_box($link) {
?> ?>
<table class="links-table" cellspacing="0"> <table class="links-table">
<tr> <tr>
<th scope="row"><label for="link_rel"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('rel:') ?></label></th> <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> <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"> <div id="menu-locations-wrap">
<form method="post" action="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>"> <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> <thead>
<tr> <tr>
<th scope="col" class="manage-column column-locations"><?php _e( 'Theme Location' ); ?></th> <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"> <form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-plugins" class="upgrade">
<?php wp_nonce_field('upgrade-core'); ?> <?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> <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> <thead>
<tr> <tr>
<th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all" /></th> <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"> <form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-themes" class="upgrade">
<?php wp_nonce_field('upgrade-core'); ?> <?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> <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> <thead>
<tr> <tr>
<th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all" /></th> <th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all" /></th>