diff --git src/bp-activity/bp-activity-admin.php src/bp-activity/bp-activity-admin.php
index 2599573..8736be8 100644
|
|
|
class BP_Activity_List_Table extends WP_List_Table {
|
| 1197 | 1197 | $this->get_columns(), |
| 1198 | 1198 | array(), |
| 1199 | 1199 | $this->get_sortable_columns(), |
| | 1200 | $this->get_primary_column_name(), |
| 1200 | 1201 | ); |
| 1201 | 1202 | |
| 1202 | 1203 | return $this->_column_headers; |
| … |
… |
class BP_Activity_List_Table extends WP_List_Table {
|
| 1219 | 1220 | function display() { |
| 1220 | 1221 | $this->display_tablenav( 'top' ); ?> |
| 1221 | 1222 | |
| 1222 | | <table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0"> |
| | 1223 | <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0"> |
| 1223 | 1224 | <thead> |
| 1224 | 1225 | <tr> |
| 1225 | 1226 | <?php $this->print_column_headers(); ?> |
| … |
… |
class BP_Activity_List_Table extends WP_List_Table {
|
| 1730 | 1731 | |
| 1731 | 1732 | return $tree; |
| 1732 | 1733 | } |
| | 1734 | |
| | 1735 | /** |
| | 1736 | * Get name of default primary column |
| | 1737 | * |
| | 1738 | * @since BuddyPress (2.4.0) |
| | 1739 | * @access protected |
| | 1740 | * |
| | 1741 | * @return string |
| | 1742 | */ |
| | 1743 | protected function get_default_primary_column_name() { |
| | 1744 | return 'author'; |
| | 1745 | } |
| 1733 | 1746 | } |
diff --git src/bp-groups/bp-groups-admin.php src/bp-groups/bp-groups-admin.php
index 19b88d8..ba3c916 100644
|
|
|
class BP_Groups_List_Table extends WP_List_Table {
|
| 1293 | 1293 | $this->get_columns(), |
| 1294 | 1294 | array(), |
| 1295 | 1295 | $this->get_sortable_columns(), |
| | 1296 | $this->get_primary_column_name(), |
| 1296 | 1297 | ); |
| 1297 | 1298 | |
| 1298 | 1299 | return $this->_column_headers; |
| … |
… |
class BP_Groups_List_Table extends WP_List_Table {
|
| 1315 | 1316 | public function display() { |
| 1316 | 1317 | $this->display_tablenav( 'top' ); ?> |
| 1317 | 1318 | |
| 1318 | | <table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0"> |
| | 1319 | <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0"> |
| 1319 | 1320 | <thead> |
| 1320 | 1321 | <tr> |
| 1321 | 1322 | <?php $this->print_column_headers(); ?> |
| … |
… |
class BP_Groups_List_Table extends WP_List_Table {
|
| 1704 | 1705 | */ |
| 1705 | 1706 | return apply_filters( 'bp_groups_admin_get_group_custom_column', '', $column_name, $item ); |
| 1706 | 1707 | } |
| | 1708 | |
| | 1709 | /** |
| | 1710 | * Get name of default primary column |
| | 1711 | * |
| | 1712 | * @since BuddyPress (2.4.0) |
| | 1713 | * @access protected |
| | 1714 | * |
| | 1715 | * @return string |
| | 1716 | */ |
| | 1717 | protected function get_default_primary_column_name() { |
| | 1718 | /* comment column is mapped to Group's name */ |
| | 1719 | return 'comment'; |
| | 1720 | } |
| 1707 | 1721 | } |
diff --git src/bp-members/admin/bp-members-admin-classes.php src/bp-members/admin/bp-members-admin-classes.php
index e32baff..a5242ab 100644
|
|
|
class BP_Members_List_Table extends WP_Users_List_Table {
|
| 206 | 206 | public function display_rows() { |
| 207 | 207 | $style = ''; |
| 208 | 208 | foreach ( $this->items as $userid => $signup_object ) { |
| | 209 | // Avoid a notice error appearing since 4.3 |
| | 210 | if ( isset( $signup_object->id ) ) { |
| | 211 | $signup_object->ID = $signup_object->id; |
| | 212 | } |
| | 213 | |
| 209 | 214 | $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"'; |
| 210 | 215 | echo "\n\t" . $this->single_row( $signup_object, $style ); |
| 211 | 216 | } |
| … |
… |
class BP_Members_MS_List_Table extends WP_MS_Users_List_Table {
|
| 569 | 574 | public function display_rows() { |
| 570 | 575 | $style = ''; |
| 571 | 576 | foreach ( $this->items as $userid => $signup_object ) { |
| | 577 | // Avoid a notice error appearing since 4.3 |
| | 578 | if ( isset( $signup_object->id ) ) { |
| | 579 | $signup_object->ID = $signup_object->id; |
| | 580 | } |
| | 581 | |
| 572 | 582 | $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"'; |
| 573 | 583 | echo "\n\t" . $this->single_row( $signup_object, $style ); |
| 574 | 584 | } |