Changeset 5707 for trunk/wp-comments-post.php
- Timestamp:
- 06/14/2007 04:24:28 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-comments-post.php
r5640 r5707 20 20 do_action('comment_closed', $comment_post_ID); 21 21 wp_die( __('Sorry, comments are closed for this item.') ); 22 } elseif ( 'draft' == $status->post_status) {22 } elseif ( in_array($status->post_status, array('draft', 'pending') ) ) { 23 23 do_action('comment_on_draft', $comment_post_ID); 24 24 exit;
Note: See TracChangeset
for help on using the changeset viewer.