Make WordPress Core

Changeset 20641


Ignore:
Timestamp:
04/30/2012 01:47:22 AM (13 years ago)
Author:
nacin
Message:

In comment_form(), pass the $post_id to comments_open(). props insertvisionhere. fixes #20572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-template.php

    r20378 r20641  
    15501550
    15511551    ?>
    1552         <?php if ( comments_open() ) : ?>
     1552        <?php if ( comments_open( $post_id ) ) : ?>
    15531553            <?php do_action( 'comment_form_before' ); ?>
    15541554            <div id="respond">
Note: See TracChangeset for help on using the changeset viewer.