Ticket #23851: 23851.5.diff
File 23851.5.diff, 2.1 KB (added by , 10 years ago) |
---|
-
/Users/motacekj/
old new 2001 2001 'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>', 2002 2002 'comment_notes_after' => '<p class="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>', 2003 2003 'id_form' => 'commentform', 2004 'class_form' => 'comments-area', 2004 2005 'id_submit' => 'submit', 2006 'class_submit' => 'button', 2005 2007 'title_reply' => __( 'Leave a Reply' ), 2006 2008 'title_reply_to' => __( 'Leave a Reply to %s' ), 2007 2009 'cancel_reply_link' => __( 'Cancel reply' ), … … 2043 2045 do_action( 'comment_form_must_log_in_after' ); 2044 2046 ?> 2045 2047 <?php else : ?> 2046 <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" class=" comment-form"<?php echo $html5 ? ' novalidate' : ''; ?>>2048 <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" class="<?php echo esc_attr( $args['class_form'] ); ?>"<?php echo $html5 ? ' novalidate' : ''; ?>> 2047 2049 <?php 2048 2050 /** 2049 2051 * Fires at the top of the comment form, inside the <form> tag. … … 2118 2120 ?> 2119 2121 <?php echo $args['comment_notes_after']; ?> 2120 2122 <p class="form-submit"> 2121 <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />2123 <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" class="<?php echo esc_attr( $args['class_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" /> 2122 2124 <?php comment_id_fields( $post_id ); ?> 2123 2125 </p> 2124 2126 <?php