[buddypress-trac] [BuddyPress Trac] #9180: [BP Tools - Manage Optouts] A Blank Screen is the result when Bulk actions - Delete is applied when no opt-out entries have been selected

buddypress-trac noreply at wordpress.org
Wed Jun 12 14:26:01 UTC 2024


#9180: [BP Tools - Manage Optouts] A Blank Screen is the result when Bulk actions
- Delete is applied when no opt-out entries have been selected
-------------------------+-------------------------------------------------
 Reporter:  emaralive    |      Owner:  (none)
     Type:  defect       |     Status:  new
  (bug)                  |
 Priority:  normal       |  Milestone:  14.0.0
Component:               |    Version:  12.5.1
  Administration         |   Keywords:  has-screenshots has-patch dev-
 Severity:  normal       |  feedback
-------------------------+-------------------------------------------------
 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:
 1. Select **Delete** from **Bulk actions** dropdown menu.
 2. 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.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9180>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list