Ticket #5120: default-theme-comments.diff
| File default-theme-comments.diff, 1.1 KB (added by Elpie, 3 years ago) |
|---|
-
comments-popup.php
91 91 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 92 92 <input type="hidden" name="redirect_to" value="<?php echo esc_attr($_SERVER["REQUEST_URI"]); ?>" /> 93 93 <input name="submit" type="submit" tabindex="5" value="Say It!" /> 94 <?php do_action('comment_form', $post->ID); ?> 94 95 </p> 95 <?php do_action('comment_form', $post->ID); ?>96 96 </form> 97 97 <?php } else { // comments are closed ?> 98 98 <p>Sorry, the comment form is closed at this time.</p> -
comments.php
85 85 86 86 <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /> 87 87 <?php comment_id_fields(); ?> 88 <?php do_action('comment_form', $post->ID); ?> 88 89 </p> 89 <?php do_action('comment_form', $post->ID); ?>90 90 91 91 92 </form> 92 93 93 94 <?php endif; // If registration required and not logged in ?>
