Changeset 48115 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 06/21/2020 01:58:46 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r48067 r48115 1273 1273 wp_die( 1 ); 1274 1274 } elseif ( in_array( $post->post_status, array( 'draft', 'pending', 'trash' ), true ) ) { 1275 wp_die( __( ' You can’t reply to a comment on a draft post.' ) );1275 wp_die( __( 'Error: You can’t reply to a comment on a draft post.' ) ); 1276 1276 } 1277 1277 … … 1303 1303 1304 1304 if ( '' === $comment_content ) { 1305 wp_die( __( ' Please type your comment text.' ) );1305 wp_die( __( 'Error: Please type your comment text.' ) ); 1306 1306 } 1307 1307 … … 1405 1405 1406 1406 if ( '' === $_POST['content'] ) { 1407 wp_die( __( ' Please type your comment text.' ) );1407 wp_die( __( 'Error: Please type your comment text.' ) ); 1408 1408 } 1409 1409
Note: See TracChangeset
for help on using the changeset viewer.