Changes from branches/2.9/wp-comments-post.php at r12648 to trunk/wp-comments-post.php at r12300
- File:
-
- 1 edited
-
trunk/wp-comments-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-comments-post.php
r12648 r12300 28 28 do_action('comment_closed', $comment_post_ID); 29 29 wp_die( __('Sorry, comments are closed for this item.') ); 30 } elseif ( in_array($status->post_status, array('draft', ' future', 'pending') ) ) {30 } elseif ( in_array($status->post_status, array('draft', 'pending') ) ) { 31 31 do_action('comment_on_draft', $comment_post_ID); 32 32 exit; 33 33 } elseif ( 'trash' == $status->post_status ) { 34 34 do_action('comment_on_trash', $comment_post_ID); 35 exit;36 } elseif ( post_password_required($comment_post_ID) ) {37 do_action('comment_on_password_protected', $comment_post_ID);38 35 exit; 39 36 } else {
Note: See TracChangeset
for help on using the changeset viewer.