Ticket #15015: comment-template.patch
File comment-template.patch, 1.5 KB (added by , 14 years ago) |
---|
-
comment-template.
old new 1528 1528 'url' => '<p class="comment-form-url"><label for="url">' . __( 'Website' ) . '</label>' . 1529 1529 '<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>', 1530 1530 ); 1531 1532 $submit_button = 1533 '<p class="form-submit">' . 1534 '<input name="submit" type="submit" id="[args:id_submit]" value="[args:label_submit]" />' . 1535 get_comment_id_fields() . 1536 '</p>'; 1531 1537 1532 1538 $required_text = sprintf( ' ' . __('Required fields are marked %s'), '<span class="required">*</span>' ); 1533 1539 $defaults = array( … … 1573 1579 <?php endif; ?> 1574 1580 <?php echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); ?> 1575 1581 <?php echo $args['comment_notes_after']; ?> 1576 <p class="form-submit"> 1577 <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" /> 1578 <?php comment_id_fields(); ?> 1579 </p> 1582 <?php 1583 echo str_replace( 1584 array( 1585 '[args:id_submit]', 1586 '[args:label_submit]' 1587 ), 1588 array( 1589 esc_attr($args['id_submit']), 1590 esc_attr($args['label_submit']) 1591 ), 1592 apply_filters('comment_form_submit_button', $submit_button) 1593 ); 1594 ?> 1580 1595 <?php do_action( 'comment_form', $post_id ); ?> 1581 1596 </form> 1582 1597 <?php endif; ?>