Changeset 53337 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 05/03/2022 02:51:41 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r53183 r53337 1292 1292 wp_die( 1 ); 1293 1293 } elseif ( in_array( $post->post_status, array( 'draft', 'pending', 'trash' ), true ) ) { 1294 wp_die( __( ' Error:You cannot reply to a comment on a draft post.' ) );1294 wp_die( __( 'You cannot reply to a comment on a draft post.' ) ); 1295 1295 } 1296 1296 … … 1322 1322 1323 1323 if ( '' === $comment_content ) { 1324 wp_die( __( ' Error:Please type your comment text.' ) );1324 wp_die( __( 'Please type your comment text.' ) ); 1325 1325 } 1326 1326 … … 1424 1424 1425 1425 if ( '' === $_POST['content'] ) { 1426 wp_die( __( ' Error:Please type your comment text.' ) );1426 wp_die( __( 'Please type your comment text.' ) ); 1427 1427 } 1428 1428
Note: See TracChangeset
for help on using the changeset viewer.