From 71af3a2004e41382e38e7f0844fb2e81fd0818e4 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: http://core.svn.wordpress.org/trunk@24573 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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'), '*' );