diff --git src/bp-core/admin/bp-core-admin-optouts.php src/bp-core/admin/bp-core-admin-optouts.php
index 469c8bf73..6b55c61ce 100644
|
|
|
function bp_core_optouts_admin_manage( $action = '' ) {
|
| 390 | 390 | } |
| 391 | 391 | |
| 392 | 392 | // Get the IDs from the URL. |
| 393 | | $ids = false; |
| | 393 | $ids = 0; |
| 394 | 394 | if ( ! empty( $_POST['optout_ids'] ) ) { |
| 395 | 395 | $ids = wp_parse_id_list( $_POST['optout_ids'] ); |
| 396 | 396 | } elseif ( ! empty( $_GET['optout_id'] ) ) { |
| 397 | 397 | $ids = absint( $_GET['optout_id'] ); |
| 398 | 398 | } |
| 399 | 399 | |
| 400 | | if ( empty( $ids ) ) { |
| 401 | | return false; |
| 402 | | } |
| 403 | | |
| 404 | 400 | // Query for matching optouts, and filter out bad IDs. |
| 405 | 401 | $args = array( |
| 406 | 402 | 'id' => $ids, |