Changeset 13029 for trunk/wp-content/themes/twentyten/comments.php
- Timestamp:
- 02/08/2010 08:28:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/comments.php
r13027 r13029 75 75 <div id="form-section-author" class="form-section"> 76 76 <div class="form-label"><label for="author"><?php _e('Name', 'twentyten') ?></label> <?php if ($req) _e('<span class="required">*</span>', 'twentyten') ?></div> 77 <div class="form-input"><input id="author" name="author" type="text" value="<?php echo $comment_author?>" size="30" tabindex="3" /></div>77 <div class="form-input"><input id="author" name="author" type="text" value="<?php echo esc_attr($comment_author) ?>" size="30" tabindex="3" /></div> 78 78 </div><!-- #form-section-author .form-section --> 79 79 80 80 <div id="form-section-email" class="form-section"> 81 81 <div class="form-label"><label for="email"><?php _e('Email', 'twentyten') ?></label> <?php if ($req) _e('<span class="required">*</span>', 'twentyten') ?></div> 82 <div class="form-input"><input id="email" name="email" type="text" value="<?php echo $comment_author_email?>" size="30" tabindex="4" /></div>82 <div class="form-input"><input id="email" name="email" type="text" value="<?php echo esc_attr($comment_author_email) ?>" size="30" tabindex="4" /></div> 83 83 </div><!-- #form-section-email .form-section --> 84 84 85 85 <div id="form-section-url" class="form-section"> 86 86 <div class="form-label"><label for="url"><?php _e('Website', 'twentyten') ?></label></div> 87 <div class="form-input"><input id="url" name="url" type="text" value="<?php echo $comment_author_url?>" size="30" tabindex="5" /></div>87 <div class="form-input"><input id="url" name="url" type="text" value="<?php echo esc_attr($comment_author_url) ?>" size="30" tabindex="5" /></div> 88 88 </div><!-- #form-section-url .form-section --> 89 89 … … 101 101 <?php do_action('comment_form', $post->ID); ?> 102 102 103 <div class="form-submit"><input id="submit" name="submit" type="submit" value="<?php _e('Post Comment', 'twentyten') ?>" tabindex="7" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></div>103 <div class="form-submit"><input id="submit" name="submit" type="submit" value="<?php esc_attr_e('Post Comment', 'twentyten') ?>" tabindex="7" /><input type="hidden" name="comment_post_ID" value="<?php echo esc_attr($id); ?>" /></div> 104 104 105 105 <?php comment_id_fields(); ?>
Note: See TracChangeset
for help on using the changeset viewer.