#455 closed defect (bug) (fixed)
Comment lost when using the "back" button after a posting error
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.2 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Im having troubles with the back button. If the commenter forgets a required field, sees the error, and then presses back", his comment is gone and he has to retype it. Im using Mozilla and this behavior seems to be browser dependant. IE dose not refresh the page, so it works fine. Looking at the code in wp-blog-header.php, WordPress marks the page as always modified in the headers, so Mozilla is actually doing the right thing.
Maybe we need to factor the post code out and make the form available on the error page for a resubmitting. Another solution would be to fix the headers so they dont always force a reload. Another side-effect of the page reload is that the browser doesnt return to the same place on the previous page when you hit back" anywhere on the site, which is a drag.
The new cache headers fix this.