Opened 6 years ago
Closed 4 years ago
#5167 closed enhancement (fixed)
Optional Back button in wp_die
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | UI | Version: | 2.3 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Sometimes wp_die is used to indicate user errors in forms. In these cases one has to hit the browsers's back button in order to go to the form again.
The patch below adds a third parameter to wp_die, which controls whether a Back link at the bottom of the page is shown.
Attachments (1)
Change History (7)
- Keywords needs-patch added; has-patch removed
- Owner changed from anonymous to westi
- Status changed from new to assigned
- Component changed from General to UI
patch is broken. but it would probably make it in 2.8 if ryan bumps into it. he requested precisely that in a separate ticket related to comment errors leading to a dead end with no back link.
nbachiyski — 4 years ago
comment:5
nbachiyski — 4 years ago
- Milestone changed from 2.9 to 2.8
Here is an updated patch for trunk.
Note: See
TracTickets for help on using
tickets.

patch is missing ;-)
But sounds like a good idea.