WordPress.org

Make WordPress Core

Opened 10 years ago

Last modified 10 months ago

#4332 closed enhancement

No comment error page requires browser navigation to leave — at Initial Version

Reported by: foolswisdom Owned by: anonymous
Milestone: 4.5 Priority: normal
Severity: normal Version: 1.5
Component: Comments Keywords: make-flow has-patch dev-feedback
Focuses: template Cc:

Description

No comment error page requires browser navigation to leave

ENV: WP trunk r5486

While viewing a post, I click Submit Comment without entering any information and the result is (wp-comments-post.php):

WordPress
Error: please type a comment.

Dead end: no link back to the page where I meant to comment or maybe accidentally clicked the button, and "Error:" makes me feel stupid ;-)

POSSIBLE SOLUTION

I don't see any reason to navigate away from the post post.

ADDITIONAL DETAILS

Assuming the error page is desirable (sure hope not), being able to style it might be useful.

Change History (0)

Note: See TracTickets for help on using tickets.