WordPress.org

Make WordPress Core

Opened 7 years ago

Last modified 8 months ago

#4332 accepted enhancement

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

Reported by: foolswisdom Owned by: anonymous
Milestone: Future Release Priority: normal
Severity: normal Version: 1.5
Component: Comments Keywords: has-patch
Focuses: 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.