Opened 16 years ago
Closed 16 years ago
#15572 closed defect (bug) (fixed)
White screen bulk action but no selected comments
| Reported by: | duck_ | Owned by: | scribu |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | General | Version: | 3.1 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
- Visit wp-admin/edit-comments.php
- Perform a bulk action without checking any comments
- White screen
The problem is that wp_get_refere() is returning false (since _wp_http_referer == REQUEST_URI) and so the redirect on line 33 does nothing then we exit.
Pre-3.1 there was no exit call after the redirect so it just fell through and redirected at the end of the bulk action block where $redirect_to is set because add_query_arg (called by remove_query_arg) uses $_SERVER['REQUEST_URI'] when the old query is false.
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [16580]) Prevent WSOD when no comments selected for bulk action. See #15572