#2914 closed enhancement (fixed)
Replace die('s with wp_die('s
| Reported by: | filosofo | Owned by: | filosofo |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | bg|has-patch |
| Cc: | Focuses: |
Description
Latest revision; excluded ajax and wp-blog-header, as well as a few empty die()'s.
Attachments (1)
Change History (3)
#2
@
20 years ago
I had to make a few changes. Don't wp_die after a redirect. Don't wp_die when wp-config cannot be loaded. Don't wp_die when an importer is using die as a means of sending non error output. A good general rule is to only wp_die when there is a die with a translatable string in it.
I remove a few wp_dies from wp-login in the reset/retrieve password areas. We could add these back if we integrate the echos that come before the die into the die.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [3985]) Use wp_die(). Props filosofo. fixes #2914