Changeset 49108 for trunk/src/wp-comments-post.php
- Timestamp:
- 10/08/2020 09:13:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-comments-post.php
r48574 r49108 25 25 $comment = wp_handle_comment_submission( wp_unslash( $_POST ) ); 26 26 if ( is_wp_error( $comment ) ) { 27 $data = intval( $comment->get_error_data());27 $data = (int) $comment->get_error_data(); 28 28 if ( ! empty( $data ) ) { 29 29 wp_die(
Note: See TracChangeset
for help on using the changeset viewer.