Changeset 43571 for trunk/src/wp-comments-post.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-comments-post.php
r43042 r43571 28 28 if ( ! empty( $data ) ) { 29 29 wp_die( 30 '<p>' . $comment->get_error_message() . '</p>', __( 'Comment Submission Failure' ), array( 30 '<p>' . $comment->get_error_message() . '</p>', 31 __( 'Comment Submission Failure' ), 32 array( 31 33 'response' => $data, 32 34 'back_link' => true, … … 38 40 } 39 41 40 $user = wp_get_current_user();42 $user = wp_get_current_user(); 41 43 $cookies_consent = ( isset( $_POST['wp-comment-cookies-consent'] ) ); 42 44
Note: See TracChangeset
for help on using the changeset viewer.