| 1468 | | $defaults = array( 'fields' => apply_filters( 'comment_form_default_fields', array( 'author' => '<div id="form-section-author" class="form-section"> |
| 1469 | | <div class="form-label"><label for="author">' . __( 'Name', 'twentyten' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '</div> |
| 1470 | | <div class="form-input"><input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" tabindex="1"' . $aria_req . ' /></div> |
| 1471 | | </div><!-- #form-section-author .form-section -->', |
| 1472 | | 'email' => '<div id="form-section-email" class="form-section"> |
| 1473 | | <div class="form-label"><label for="email">' . __( 'Email', 'twentyten' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '</div> |
| 1474 | | <div class="form-input"><input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" tabindex="2"' . $aria_req . ' /></div> |
| 1475 | | </div><!-- #form-section-email .form-section -->', |
| 1476 | | 'url' => '<div id="form-section-url" class="form-section"> |
| 1477 | | <div class="form-label"><label for="url">' . __( 'Website', 'twentyten' ) . '</label></div> |
| 1478 | | <div class="form-input"><input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" tabindex="3" /></div> |
| 1479 | | </div><!-- #form-section-url .form-section -->' ) ), |
| 1480 | | 'comment_field' => '<div id="form-section-comment" class="form-section"> |
| 1481 | | <div class="form-label"><label for="comment">' . __( 'Comment', 'twentyten' ) . '</label></div> |
| 1482 | | <div class="form-textarea"><textarea id="comment" name="comment" cols="45" rows="8" tabindex="4" aria-required="true"></textarea></div> |
| 1483 | | </div><!-- #form-section-comment .form-section -->', |
| 1484 | | 'must_log_in' => '<p>' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', |
| 1485 | | 'logged_in_as' => '<p>' . sprintf( __( 'Logged in as <a href="%s">%s</a>. <a href="%s" title="Log out of this account">Log out?</a></p>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ), |
| 1486 | | 'comment_notes_before' => '<p id="comment-notes">' . __( 'Your email is <em>never</em> published nor shared.' ) . ( $req ? __( ' Required fields are marked <span class="required">*</span>' ) : '' ) . '</p>', |
| 1487 | | 'comment_notes_after' => '<div id="form-allowed-tags" class="form-section"> |
| 1488 | | <p><span>' . __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:' ) . '</span> <code>' . allowed_tags() . '</code></p> |
| 1489 | | </div>', |
| | 1468 | $defaults = array( 'fields' => apply_filters( 'comment_form_default_fields', array( 'author' => '<p class="comment-form-author">' . |
| | 1469 | '<label for="author">' . __( 'Name' ) . '</label> ' . |
| | 1470 | ( $req ? '<span class="required">*</span>' : '' ) . |
| | 1471 | '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" tabindex="1"' . $aria_req . ' />' . |
| | 1472 | '</p><!-- #form-section-author .form-section -->', |
| | 1473 | 'email' => '<p class="comment-form-email">' . |
| | 1474 | '<label for="email">' . __( 'Email' ) . '</label> ' . |
| | 1475 | ( $req ? '<span class="required">*</span>' : '' ) . |
| | 1476 | '<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" tabindex="2"' . $aria_req . ' />' . |
| | 1477 | '</p><!-- #form-section-email .form-section -->', |
| | 1478 | 'url' => '<p class="comment-form-url">' . |
| | 1479 | '<label for="url">' . __( 'Website' ) . '</label>' . |
| | 1480 | '<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" tabindex="3" />' . |
| | 1481 | '</p><!-- #form-section-url .form-section -->' ) ), |
| | 1482 | 'comment_field' => '<p class="comment-form-comment">' . |
| | 1483 | '<label for="comment">' . __( 'Comment' ) . '</label>' . |
| | 1484 | '<textarea id="comment" name="comment" cols="45" rows="8" tabindex="4" aria-required="true"></textarea>' . |
| | 1485 | '</p><!-- #form-section-comment .form-section -->', |
| | 1486 | 'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', |
| | 1487 | 'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%s">%s</a>. <a href="%s" title="Log out of this account">Log out?</a></p>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ), |
| | 1488 | 'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email is <em>never</em> published nor shared.' ) . ( $req ? __( ' Required fields are marked <span class="required">*</span>' ) : '' ) . '</p>', |
| | 1489 | 'comment_notes_after' => '<dl class="form-allowed-tags"><dt>' . __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:' ) . '</dt> <dd><code>' . allowed_tags() . '</code></dd></dl>', |