#38151 closed defect (bug) (fixed)
die() instead of wp_die() ?
Reported by: | imath | Owned by: | jeremyfelt |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Users | Keywords: | has-patch commit |
Focuses: | administration, multisite | Cc: |
Description
After searching in all files, it's the only place die()
is used instead of wp_die()
, so maybe it should be changed.
Attachments (1)
Change History (8)
#2
@
8 years ago
- Component changed from Administration to Users
- Milestone changed from Awaiting Review to 4.7
- Version changed from trunk to 3.1
#3
@
8 years ago
- Keywords commit added
- Owner set to jeremyfelt
- Status changed from new to assigned
Patch looks good to me.
Also, 6 years… 👍
#4
@
8 years ago
- Resolution set to fixed
- Status changed from assigned to closed
Commit [38656] missed the ticket because I missed the #
:
Multisite: Replace die()
with wp_die()
in site users list table.
wp_die()
is available and appropriate when checking capabilities while processing list table actions.
Props imath.
#5
@
8 years ago
@jeremyfelt Please review ticket #34521, and update the text to: Sorry, you are not allowed to remove users.
Note: See
TracTickets for help on using
tickets.
Introduced in [16560].