Make WordPress Core

Ticket #25229: comments.diff

File comments.diff, 754 bytes (added by natejacobs, 11 years ago)

wp-includes/theme-compat/comments.php

  • wp-includes/theme-compat/comments.php

     
    9191<p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php esc_attr_e('Submit Comment'); ?>" />
    9292<?php comment_id_fields(); ?>
    9393</p>
    94 <?php do_action('comment_form', $post->ID); ?>
     94<?php
     95        /**
     96         * Add data to the end of the comment form below the submit button.
     97         *
     98         * This use of the comment_form action hook is part of a deprecated file as of 3.0.0.
     99         *
     100         * @since 1.5.2
     101         *
     102         * @param int $post->ID The post ID.
     103         */
     104        do_action('comment_form', $post->ID);
     105?>
    95106
    96107</form>
    97108