Ticket #45028: 45028.2.diff
File 45028.2.diff, 1.3 KB (added by , 6 years ago) |
---|
-
src/wp-admin/includes/class-wp-comments-list-table.php
class WP_Comments_List_Table extends WP_ 497 497 ?> 498 498 <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>"> 499 499 <thead> 500 500 <tr> 501 501 <?php $this->print_column_headers(); ?> 502 502 </tr> 503 503 </thead> 504 504 505 505 <tbody id="the-comment-list" data-wp-lists="list:comment"> 506 506 <?php $this->display_rows_or_placeholder(); ?> 507 507 </tbody> 508 508 509 509 <tbody id="the-extra-comment-list" data-wp-lists="list:comment" style="display: none;"> 510 510 <?php 511 511 /* 512 * Back up the items to restore after printing the extra items markup. 512 * Back up the items to restore after printing the extra items markup. 513 513 * The extra items may be empty, which will prevent the table nav from displaying later. 514 514 */ 515 $items= $this->items;515 $items = $this->items; 516 516 $this->items = $this->extra_items; 517 517 $this->display_rows_or_placeholder(); 518 518 $this->items = $items; 519 519 ?> 520 520 </tbody> 521 521 522 522 <tfoot> 523 523 <tr> 524 524 <?php $this->print_column_headers( false ); ?> 525 525 </tr> 526 526 </tfoot> 527 527 528 528 </table> 529 529 <?php 530 530