Changeset 9175
- Timestamp:
- 10/14/2008 07:06:18 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/default/comments.php
r9112 r9175 79 79 80 80 <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /> 81 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 82 <?php comment_parent_field(); ?> 81 <?php comment_id_fields(); ?> 83 82 </p> 84 83 <?php do_action('comment_form', $post->ID); ?> -
trunk/wp-includes/comment-template.php
r9114 r9175 937 937 * @since 2.7.0 938 938 */ 939 function comment_parent_field() { 939 function comment_id_fields() { 940 global $id; 941 940 942 $replytoid = isset($_GET['replytocom']) ? (int) $_GET['replytocom'] : 0; 943 echo "<input type='hidden' name='comment_post_ID' value='$id' />\n"; 941 944 echo "<input type='hidden' name='comment_parent' id='comment_parent' value='$replytoid' />\n"; 942 945 }
Note: See TracChangeset
for help on using the changeset viewer.