Making WordPress.org


Ignore:
Timestamp:
01/10/2018 06:04:22 PM (7 years ago)
Author:
obenland
Message:

Plugins: Display a date with internal notes.

Fixes #3001.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-comments.php

    r6287 r6337  
    4242        <table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" data-comment-type="<?php echo esc_attr( $this->comment_type ); ?>" style="display:none;">
    4343            <colgroup>
     44                <col width="15%">
     45                <col width="65%">
    4446                <col width="20%">
    45                 <col width="80%">
    4647            </colgroup>
    4748            <tbody id="the-comment-list"<?php if ( $singular ) { echo " data-wp-lists='list:$singular'"; } ?>>
     
    5556    <?php
    5657    }
     58
     59    /**
     60     * @return array
     61     */
     62    protected function get_column_info() {
     63        return [
     64            [
     65                'author'  => __( 'Author' ),
     66                'comment' => _x( 'Comment', 'column name' ),
     67                'date'    => __( 'Date' ),
     68            ],
     69            [],
     70            [],
     71            'comment',
     72        ];
     73    }
    5774}
Note: See TracChangeset for help on using the changeset viewer.