Opened 6 months ago
Closed 6 months ago
#9180 closed defect (bug) (fixed)
[BP Tools - Manage Optouts] A Blank Screen is the result when Bulk actions - Delete is applied when no opt-out entries have been selected
Reported by: | emaralive | Owned by: | imath |
---|---|---|---|
Milestone: | 14.0.0 | Priority: | normal |
Severity: | normal | Version: | 12.5.1 |
Component: | Administration | Keywords: | has-screenshots has-patch dev-feedback |
Cc: |
Description
There are 2 (two) ways to achieve a blank screen from site.url/wp-admin/tools.php?page=bp-optouts
page/screen.
Scenario 1
There is at least 1 (one) opt-out entry:
- Select Delete from Bulk actions dropdown menu.
- Click apply without selecting an opt-out entry.
Scenario 2
In the event that there are no opt-out entries, using a query string with an empty optout_id
and action
set to delete
will be sufficient for demonstration, for example:
site.url/wp-admin/tools.php?page=bp-optouts&optout_id=0&action=delete
The result is a basically a blank screen, see screenshot - screenshot-win10-me-2024.06.10-17_09_54.png.
The patch fixes this issue by utilizing downstream code that provides a feedback message and a cancel button, see screenshot - screenshot-win10-me-2024.06.10-17_18_44.png.
Attachments (3)
Change History (7)
This ticket was mentioned in Slack in #buddypress by emaralive. View the logs.
6 months ago
#2
@
6 months ago
Patch looks good to me, thanks for catching this issue. @dcavins can you have a look at it?
screenshot-win10-me-2024.06.10-17_09_54.png