diff --git src/bp-core/classes/class-bp-optouts-list-table.php src/bp-core/classes/class-bp-optouts-list-table.php
index e20f653ff..6823ca9cb 100644
|
|
|
class BP_Optouts_List_Table extends WP_Users_List_Table { |
| 86 | 86 | ); |
| 87 | 87 | } |
| 88 | 88 | |
| | 89 | /** |
| | 90 | * Gets the name of the default primary column. |
| | 91 | * |
| | 92 | * @since 10.1.0 |
| | 93 | * |
| | 94 | * @return string Name of the default primary column, in this case, 'email_address'. |
| | 95 | */ |
| | 96 | protected function get_default_primary_column_name() { |
| | 97 | return 'email_address'; |
| | 98 | } |
| | 99 | |
| 89 | 100 | /** |
| 90 | 101 | * Get the list of views available on this table. |
| 91 | 102 | * |
diff --git src/bp-members/classes/class-bp-members-invitations-list-table.php src/bp-members/classes/class-bp-members-invitations-list-table.php
index f84f17ddd..42f2d6e27 100644
|
|
|
class BP_Members_Invitations_List_Table extends WP_Users_List_Table { |
| 102 | 102 | ) ); |
| 103 | 103 | } |
| 104 | 104 | |
| | 105 | /** |
| | 106 | * Gets the name of the default primary column. |
| | 107 | * |
| | 108 | * @since 10.1.0 |
| | 109 | * |
| | 110 | * @return string Name of the default primary column, in this case, 'invitee_email'. |
| | 111 | */ |
| | 112 | protected function get_default_primary_column_name() { |
| | 113 | return 'invitee_email'; |
| | 114 | } |
| | 115 | |
| 105 | 116 | /** |
| 106 | 117 | * Get the list of views available on this table (e.g. "all", "public"). |
| 107 | 118 | * |