Changeset 48218 for trunk/src/wp-includes/comment.php
- Timestamp:
- 06/29/2020 11:40:56 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r48216 r48218 2504 2504 $data = apply_filters( 'wp_update_comment_data', $data, $comment, $commentarr, $wp_error ); 2505 2505 2506 if ( ! $data ) { 2507 $data = new WP_Error( 'comment_update_canceled', __( 'Comment update canceled.' ) ); 2508 } 2509 2506 2510 // Do not carry on on failure. 2507 if ( is_wp_error( $data ) || ! $data ) { 2508 return $data; 2511 if ( is_wp_error( $data ) ) { 2512 if ( $wp_error ) { 2513 return $data; 2514 } else { 2515 return false; 2516 } 2509 2517 } 2510 2518
Note: See TracChangeset
for help on using the changeset viewer.