Ticket #25229: comments-popup.diff
File comments-popup.diff, 952 bytes (added by , 11 years ago) |
---|
-
wp-includes/theme-compat/comments-popup.php
97 97 <input type="hidden" name="redirect_to" value="<?php echo esc_attr($_SERVER["REQUEST_URI"]); ?>" /> 98 98 <input name="submit" type="submit" tabindex="5" value="<?php esc_attr_e('Say It!' ); ?>" /> 99 99 </p> 100 <?php do_action('comment_form', $post->ID); ?> 100 <?php 101 /** 102 * Add data to the end of the comment form below the submit button. 103 * 104 * This use of the comment_form action hook is part of a deprecated file as of 3.0.0. 105 * 106 * @since 1.5.2 107 * 108 * @param int $post->ID The post ID. 109 */ 110 do_action('comment_form', $post->ID); 111 ?> 101 112 </form> 102 113 <?php } else { // comments are closed ?> 103 114 <p><?php _e('Sorry, the comment form is closed at this time.'); ?></p>