Changeset 11204 for trunk/wp-content/themes/classic/comments.php
- Timestamp:
- 05/05/2009 07:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/classic/comments.php
r11173 r11204 54 54 <?php else : ?> 55 55 56 <p><input type="text" name="author" id="author" value="<?php echo attr($comment_author); ?>" size="22" tabindex="1" />56 <p><input type="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" size="22" tabindex="1" /> 57 57 <label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></small></label></p> 58 58 59 <p><input type="text" name="email" id="email" value="<?php echo attr($comment_author_email); ?>" size="22" tabindex="2" />59 <p><input type="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" /> 60 60 <label for="email"><small><?php _e('Mail (will not be published)');?> <?php if ($req) _e('(required)'); ?></small></label></p> 61 61 62 <p><input type="text" name="url" id="url" value="<?php echo attr($comment_author_url); ?>" size="22" tabindex="3" />62 <p><input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" /> 63 63 <label for="url"><small><?php _e('Website'); ?></small></label></p> 64 64 … … 69 69 <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> 70 70 71 <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _ea('Submit Comment'); ?>" />71 <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php esc_attr_e('Submit Comment'); ?>" /> 72 72 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 73 73 </p>
Note: See TracChangeset
for help on using the changeset viewer.