Ticket #5120: classic-theme-comments-patch.diff
| File classic-theme-comments-patch.diff, 1.2 KB (added by Elpie, 3 years ago) |
|---|
-
comments-popup.php
92 92 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 93 93 <input type="hidden" name="redirect_to" value="<?php echo esc_attr($_SERVER["REQUEST_URI"]); ?>" /> 94 94 <input name="submit" type="submit" tabindex="5" value="<?php esc_attr_e("Say It!"); ?>" /> 95 <?php do_action('comment_form', $post->ID); ?> 95 96 </p> 96 <?php do_action('comment_form', $post->ID); ?>97 97 </form> 98 98 <?php } else { // comments are closed ?> 99 99 <p><?php _e("Sorry, the comment form is closed at this time."); ?></p> -
comments.php
70 70 71 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 </p>74 73 <?php do_action('comment_form', $post->ID); ?> 75 74 </p> 76 75 </form> 77 76 78 77 <?php endif; // If registration required and not logged in ?>
