Opened 5 years ago
Last modified 5 years ago
#3363 new enhancement
Use wp_die() instead of die() function
Reported by: | immeet94 | Owned by: | |
---|---|---|---|
Milestone: | Under Consideration | Priority: | normal |
Severity: | normal | Version: | trunk |
Component: | Tools - Code Improvements | Keywords: | has-patch reporter-feedback needs-testing |
Cc: |
Description
For plugin and coding standard need to use WordPress wp_die() instead of die().
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Did you test these?
At a cursory, the calls to
die()
inside of the unit test suite are like that because at that point in the code WordPress itself could not be found, sowp_die()
is not around to call.