@@ -14,8 +14,8 @@ discard block |
||
| 14 | 14 | if ( ! class_exists( 'Table' ) ) { |
| 15 | 15 | |
| 16 | 16 | if ( ! class_exists( 'WP_List_Table' ) ) { |
| 17 | - require_once( ABSPATH . 'wp-admin/includes/screen.php' ); |
|
| 18 | - require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); |
|
| 17 | + require_once( ABSPATH . 'wp-admin/includes/screen.php' ); |
|
| 18 | + require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | final class Table extends WP_List_Table { |
@@ -230,10 +230,10 @@ discard block |
||
| 230 | 230 | $current_page = $this->get_pagenum(); |
| 231 | 231 | $total_items = self::record_count(); |
| 232 | 232 | $this->_column_headers = [ |
| 233 | - $this->get_columns(), |
|
| 234 | - [], // hidden columns |
|
| 235 | - $this->get_sortable_columns(), |
|
| 236 | - $this->get_primary_column_name(), |
|
| 233 | + $this->get_columns(), |
|
| 234 | + [], // hidden columns |
|
| 235 | + $this->get_sortable_columns(), |
|
| 236 | + $this->get_primary_column_name(), |
|
| 237 | 237 | ]; |
| 238 | 238 | $this->set_pagination_args( array( |
| 239 | 239 | 'total_items' => $total_items, |