#14984 closed enhancement (duplicate)
No backlink in comment error messages
| Reported by: | doktorbro | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | 3.0.1 |
| Severity: | normal | Keywords: | UI |
| Cc: | Focuses: |
Description
If a commenter press "Post comment" but forget to leave name, email or comment, he gets a white screen with an error like: "Error: please type a comment."
The shocked user thinks: "What now? Am I stupid? Is this the White Window of Shame?"
The answer is always: "Go back and try it again." That's why we need to put that obvious hint: "Back" by default. It's so easy to be friendly :-)
Change History (7)
#3
in reply to: ↑ 2
@
16 years ago
Replying to RAMIY:
I agree, we have to change the white screen. The "Back" link is a nice start but we need to allow users to change the error message the page design.
Yes, design is important. But the "Back" link only is a huge step. Start it, please. All you have to do, is change
wp_die( __('Error: please type a comment.') );
to something like
wp_die( __('Error: please type a comment.') ,
__('Error: please type a comment.') . ' | ' . get_bloginfo ( 'name' ),
array( 'response' => 500, 'back_link' => true ) );
#4
@
16 years ago
- Milestone Awaiting Review → Future Release
I think it would be better if we came up with a way to easily leverage comment_form() presence and return a friendly, theme-wrapped error message.
This is likely a duplicate of other tickets, in that case.
#6
@
15 years ago
- Resolution → duplicate
- Status assigned → closed
Marking as dupe of #4332
See also http://groups.google.com/group/wp-hackers/browse_thread/thread/cf1b0c871e7f1c6b/391d23505a245b02
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I agree, we have to change the white screen. The "Back" link is a nice start but we need to allow users to change the error message the page design.