Make WordPress Core


Ignore:
Timestamp:
09/30/2011 05:18:35 PM (14 years ago)
Author:
markjaquith
Message:

Be more consistent with ERROR: messages. fixes #15887

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r18820 r18841  
    641641        die('1');
    642642    elseif ( in_array($status, array('draft', 'pending', 'trash') ) )
    643         die( __('Error: you are replying to a comment on a draft post.') );
     643        die( __('ERROR: you are replying to a comment on a draft post.') );
    644644
    645645    $user = wp_get_current_user();
     
    660660
    661661    if ( '' == $comment_content )
    662         die( __('Error: please type a comment.') );
     662        die( __('ERROR: please type a comment.') );
    663663
    664664    $comment_parent = absint($_POST['comment_ID']);
     
    722722
    723723    if ( '' == $_POST['content'] )
    724         die( __('Error: please type a comment.') );
     724        die( __('ERROR: please type a comment.') );
    725725
    726726    $_POST['comment_status'] = $_POST['status'];
Note: See TracChangeset for help on using the changeset viewer.