WordPress.org

Make WordPress Core

Ticket #22086: 22086v6.diff

File 22086v6.diff, 7.0 KB (added by MattyRob, 7 years ago)
  • wp-admin/css/wp-admin.css

     
    544544
    545545/* .widefat - main style for tables */
    546546.widefat {
     547        border-collapse: separate;
    547548        border-spacing: 0;
    548549        width: 100%;
    549550        clear: both;
     
    577578
    578579.widefat td,
    579580.widefat th {
     581        border-spacing: 0;
    580582        border-width: 1px 0;
    581583        border-style: solid;
    582584}
     
    32763278}
    32773279
    32783280#post-status-info {
     3281        border-collapse: separate;
    32793282        border-width: 0 1px 1px;
    32803283        border-style: none solid solid;
    32813284        width: 100%;
     
    32863289}
    32873290
    32883291#post-status-info td {
     3292        border-spacing:0;
    32893293        font-size: 12px;
    32903294}
    32913295
  • wp-admin/edit-form-advanced.php

     
    401401        'tabfocus_elements' => 'insert-media-button,save-post',
    402402        'editor_height' => 360,
    403403) ); ?>
    404 <table id="post-status-info" cellspacing="0"><tbody><tr>
     404<table id="post-status-info"><tbody><tr>
    405405        <td id="wp-word-count"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>
    406406        <td class="autosave-info">
    407407        <span class="autosave-message">&nbsp;</span>
  • wp-admin/import.php

     
    7777} else {
    7878        uasort($importers, create_function('$a, $b', 'return strnatcasecmp($a[0], $b[0]);'));
    7979?>
    80 <table class="widefat importers" cellspacing="0">
     80<table class="widefat importers">
    8181
    8282<?php
    8383        $alt = '';
  • wp-admin/includes/ajax-actions.php

     
    14841484        if ( ! $posts )
    14851485                wp_die( __('No items found.') );
    14861486
    1487         $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>';
     1487        $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>';
    14881488        foreach ( $posts as $post ) {
    14891489                $title = trim( $post->post_title ) ? $post->post_title : __( '(no title)' );
    14901490
  • wp-admin/includes/class-wp-comments-list-table.php

     
    281281                $this->display_tablenav( 'top' );
    282282
    283283?>
    284 <table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0">
     284<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>">
    285285        <thead>
    286286        <tr>
    287287                <?php $this->print_column_headers(); ?>
     
    550550
    551551                wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
    552552?>
    553 <table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0" style="display:none;">
     553<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" style="display:none;">
    554554        <tbody id="the-comment-list"<?php if ( $singular ) echo " data-wp-lists='list:$singular'"; ?>>
    555555                <?php if ( ! $output_empty ) $this->display_rows_or_placeholder(); ?>
    556556        </tbody>
  • wp-admin/includes/class-wp-list-table.php

     
    729729                $this->display_tablenav( 'top' );
    730730
    731731?>
    732 <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0">
     732<table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>">
    733733        <thead>
    734734        <tr>
    735735                <?php $this->print_column_headers(); ?>
     
    806806                        $this->display_rows();
    807807                } else {
    808808                        list( $columns, $hidden ) = $this->get_column_info();
    809                         echo '<tr class="no-items"><td class="colspanchange" colspan="' . $this->get_column_count() . '">';
     809                        echo '<tr class="alternate no-items"><td class="colspanchange" colspan="' . $this->get_column_count() . '">';
    810810                        $this->no_items();
    811811                        echo '</td></tr>';
    812812                }
  • wp-admin/includes/media.php

     
    18721872<form enctype="multipart/form-data" method="post" action="<?php echo esc_url( $form_action_url ); ?>" class="<?php echo $form_class; ?>" id="gallery-form">
    18731873<?php wp_nonce_field('media-form'); ?>
    18741874<?php //media_upload_form( $errors ); ?>
    1875 <table class="widefat" cellspacing="0">
     1875<table class="widefat">
    18761876<thead><tr>
    18771877<th><?php _e('Media'); ?></th>
    18781878<th class="order-head"><?php _e('Order'); ?></th>
  • wp-admin/includes/meta-boxes.php

     
    841841 */
    842842function link_xfn_meta_box($link) {
    843843?>
    844 <table class="links-table" cellspacing="0">
     844<table class="links-table">
    845845        <tr>
    846846                <th scope="row"><label for="link_rel"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('rel:') ?></label></th>
    847847                <td><input type="text" name="link_rel" id="link_rel" value="<?php echo ( isset( $link->link_rel ) ? esc_attr($link->link_rel) : ''); ?>" /></td>
  • wp-admin/update-core.php

     
    212212<form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-plugins" class="upgrade">
    213213<?php wp_nonce_field('upgrade-core'); ?>
    214214<p><input id="upgrade-plugins" class="button" type="submit" value="<?php esc_attr_e('Update Plugins'); ?>" name="upgrade" /></p>
    215 <table class="widefat" cellspacing="0" id="update-plugins-table">
     215<table class="widefat" id="update-plugins-table">
    216216        <thead>
    217217        <tr>
    218218                <th scope="col" class="manage-column check-column"><input type="checkbox" id="plugins-select-all" /></th>
     
    290290<form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-themes" class="upgrade">
    291291<?php wp_nonce_field('upgrade-core'); ?>
    292292<p><input id="upgrade-themes" class="button" type="submit" value="<?php esc_attr_e('Update Themes'); ?>" name="upgrade" /></p>
    293 <table class="widefat" cellspacing="0" id="update-themes-table">
     293<table class="widefat" id="update-themes-table">
    294294        <thead>
    295295        <tr>
    296296                <th scope="col" class="manage-column check-column"><input type="checkbox" id="themes-select-all" /></th>