Changeset 18841 for trunk/wp-admin/admin-ajax.php
- Timestamp:
- 09/30/2011 05:18:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r18820 r18841 641 641 die('1'); 642 642 elseif ( in_array($status, array('draft', 'pending', 'trash') ) ) 643 die( __('E rror: you are replying to a comment on a draft post.') );643 die( __('ERROR: you are replying to a comment on a draft post.') ); 644 644 645 645 $user = wp_get_current_user(); … … 660 660 661 661 if ( '' == $comment_content ) 662 die( __('E rror: please type a comment.') );662 die( __('ERROR: please type a comment.') ); 663 663 664 664 $comment_parent = absint($_POST['comment_ID']); … … 722 722 723 723 if ( '' == $_POST['content'] ) 724 die( __('E rror: please type a comment.') );724 die( __('ERROR: please type a comment.') ); 725 725 726 726 $_POST['comment_status'] = $_POST['status'];
Note: See TracChangeset
for help on using the changeset viewer.