WordPress.org

Make WordPress Core

Ticket #45028: 45028.2.diff

File 45028.2.diff, 1.3 KB (added by dd32, 2 years ago)

Code formatting changes required to 45028.diff

  • src/wp-admin/includes/class-wp-comments-list-table.php

    class WP_Comments_List_Table extends WP_ 
    497497                ?>
    498498<table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>">
    499499        <thead>
    500500        <tr>
    501501                <?php $this->print_column_headers(); ?>
    502502        </tr>
    503503        </thead>
    504504
    505505        <tbody id="the-comment-list" data-wp-lists="list:comment">
    506506                <?php $this->display_rows_or_placeholder(); ?>
    507507        </tbody>
    508508
    509509        <tbody id="the-extra-comment-list" data-wp-lists="list:comment" style="display: none;">
    510510                <?php
    511511                        /*
    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.
    513513                         * The extra items may be empty, which will prevent the table nav from displaying later.
    514514                         */
    515                         $items = $this->items;
     515                        $items      = $this->items;
    516516                        $this->items = $this->extra_items;
    517517                        $this->display_rows_or_placeholder();
    518518                        $this->items = $items;
    519519                ?>
    520520        </tbody>
    521521
    522522        <tfoot>
    523523        <tr>
    524524                <?php $this->print_column_headers( false ); ?>
    525525        </tr>
    526526        </tfoot>
    527527
    528528</table>
    529529                <?php
    530530