#14984 closed enhancement (duplicate)
No backlink in comment error messages
Reported by: | doktorbro | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0.1 |
Component: | Comments | Keywords: | UI |
Focuses: | Cc: |
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)
#1
@
14 years ago
- Cc bro@… added
- Owner wp-comments-post.php deleted
- Status changed from new to assigned
#3
in reply to:
↑ 2
@
14 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
@
14 years ago
- Milestone changed from Awaiting Review to 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
@
14 years ago
- Resolution set to duplicate
- Status changed from assigned to closed
Marking as dupe of #4332
See also http://groups.google.com/group/wp-hackers/browse_thread/thread/cf1b0c871e7f1c6b/391d23505a245b02
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.