Make WordPress Core

Ticket #33596: 33596.3.patch

File 33596.3.patch, 2.4 KB (added by ocean90, 10 years ago)
  • src/wp-admin/css/list-tables.css

     
    18251825                text-align: left;
    18261826        }
    18271827
    1828         #comments-form .fixed .column-author {
     1828        #comments-form .fixed .column-author,
     1829        #commentsdiv .fixed .column-author {
    18291830                display: none !important;
    18301831        }
    18311832
     
    19801981                margin: 0 6px 0 0;
    19811982        }
    19821983
     1984        #edithead .inside,
     1985        #commentsdiv #edithead .inside {
     1986                float: none;
     1987                text-align: left;
     1988                padding: 3px 5px;
     1989        }
     1990
     1991        #commentsdiv #edithead .inside input,
     1992        #edithead .inside input {
     1993                width: 100%;
     1994        }
     1995
     1996        #edithead label {
     1997                display: block;
     1998        }
     1999
    19832000        #bulk-titles div {
    19842001                margin: 0.8em 0.3em;
    19852002        }
  • src/wp-admin/includes/template.php

     
    490490?>
    491491<form method="get">
    492492<?php if ( $table_row ) : ?>
    493 <table style="display:none;"><tbody id="com-reply"><tr id="replyrow" style="display:none;"><td colspan="<?php echo $wp_list_table->get_column_count(); ?>" class="colspanchange">
     493<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php echo $wp_list_table->get_column_count(); ?>" class="colspanchange">
    494494<?php else : ?>
    495495<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
    496496<?php endif; ?>
     
    767767function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) {
    768768        global $wp_locale;
    769769        $post = get_post();
    770        
     770
    771771        if ( $for_post )
    772772                $edit = ! ( in_array($post->post_status, array('draft', 'pending') ) && (!$post->post_date_gmt || '0000-00-00 00:00:00' == $post->post_date_gmt ) );
    773773
  • src/wp-admin/js/edit-comments.js

     
    634634                act = 'edit' == action ? 'edit' : 'replyto';
    635635                act = t.act = act + '-comment';
    636636
     637                $( 'td', editRow ).attr( 'colspan', $( 'th:visible, td:visible', c ).length );
     638
    637639                $('#action', editRow).val(act);
    638640                $('#comment_post_ID', editRow).val(post_id);
    639641                $('#comment_ID', editRow).val(comment_id);