From 6e96c1d7dbd6214b2b2cdb598f4d76d4c3634aed Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 5 Jul 2013 21:59:10 +0000 Subject: [PATCH] Remove pattern="" in the comment form (HTML5 mode) to avoid mistaken :invalid styles. This was originally included for Opera 10, but is not needed as of Opera 11, and current is Opera 15. props jorbin, markjaquith. fixes #24475. git-svn-id: https://develop.svn.wordpress.org/trunk@24573 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 64d5b9fcea..9a09d28d54 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1616,9 +1616,9 @@ function comment_form( $args = array(), $post_id = null ) { 'author' => '

' . ' ' . '

', 'email' => '

' . - '

', + '

', 'url' => '

' . - '

', + '

', ); $required_text = sprintf( ' ' . __('Required fields are marked %s'), '*' );