diff --git src/bp-activity/bp-activity-admin.php src/bp-activity/bp-activity-admin.php
index 4157d6c..148a57b 100644
|
|
class BP_Activity_List_Table extends WP_List_Table { |
1186 | 1186 | } |
1187 | 1187 | |
1188 | 1188 | /** |
| 1189 | * Get name of default primary column name and make sure nothing is broken in |
| 1190 | * configurations < WP 4.0 |
| 1191 | * |
| 1192 | * @since 2.3.4 |
| 1193 | * @access protected |
| 1194 | * |
| 1195 | * @return string |
| 1196 | */ |
| 1197 | protected function get_primary_column_name() { |
| 1198 | if ( ! method_exists( 'WP_List_Table', 'get_primary_column_name' ) ) { |
| 1199 | return $this->get_default_primary_column_name(); |
| 1200 | } |
| 1201 | |
| 1202 | parent::get_primary_column_name(); |
| 1203 | } |
| 1204 | |
| 1205 | /** |
1189 | 1206 | * Get an array of all the columns on the page. |
1190 | 1207 | * |
1191 | 1208 | * @since 1.6.0 |
… |
… |
class BP_Activity_List_Table extends WP_List_Table { |
1393 | 1410 | |
1394 | 1411 | <div class="alignleft actions"> |
1395 | 1412 | <label for="activity-type" class="screen-reader-text"><?php _e( 'Filter by activity type', 'buddypress' ); ?></label> |
1396 | | <select name="activity_type" id="activity-type"> |
| 1413 | <select name="activity_type" id="activity-type"> |
1397 | 1414 | <option value="" <?php selected( ! $selected ); ?>><?php _e( 'View all actions', 'buddypress' ); ?></option> |
1398 | 1415 | |
1399 | 1416 | <?php foreach ( $activity_actions as $component => $actions ) : ?> |
… |
… |
class BP_Activity_List_Table extends WP_List_Table { |
1432 | 1449 | * unnecessary <button> addition. |
1433 | 1450 | * |
1434 | 1451 | * @since 2.3.3 |
1435 | | * @access protected |
| 1452 | * @access public |
1436 | 1453 | * |
1437 | 1454 | * @param array $actions The list of actions |
1438 | 1455 | * @param bool $always_visible Whether the actions should be always visible |
1439 | 1456 | * @return string |
1440 | 1457 | */ |
1441 | | protected function row_actions( $actions, $always_visible = false ) { |
| 1458 | public function row_actions( $actions, $always_visible = false ) { |
1442 | 1459 | $action_count = count( $actions ); |
1443 | 1460 | $i = 0; |
1444 | 1461 | |
diff --git src/bp-groups/bp-groups-admin.php src/bp-groups/bp-groups-admin.php
index 0abc180..ee987fc 100644
|
|
class BP_Groups_List_Table extends WP_List_Table { |
1500 | 1500 | * unnecessary <button> addition. |
1501 | 1501 | * |
1502 | 1502 | * @since 2.3.3 |
1503 | | * @access protected |
| 1503 | * @access public |
1504 | 1504 | * |
1505 | 1505 | * @param array $actions The list of actions |
1506 | 1506 | * @param bool $always_visible Whether the actions should be always visible |
1507 | 1507 | * @return string |
1508 | 1508 | */ |
1509 | | protected function row_actions( $actions, $always_visible = false ) { |
| 1509 | public function row_actions( $actions, $always_visible = false ) { |
1510 | 1510 | $action_count = count( $actions ); |
1511 | 1511 | $i = 0; |
1512 | 1512 | |