Ticket #39650: 39650.patch
| File 39650.patch, 529 bytes (added by , 9 years ago) |
|---|
-
wp-includes/comment-template.php
2165 2165 * @param int|WP_Post $post_id Post ID or WP_Post object to generate the form for. Default current post. 2166 2166 */ 2167 2167 function comment_form( $args = array(), $post_id = null ) { 2168 if ( 'draft' == get_post_status( $post ) ) 2169 return; 2170 2168 2171 if ( null === $post_id ) 2169 2172 $post_id = get_the_ID(); 2170 2173