Changeset 48216
- Timestamp:
- 06/29/2020 11:04:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r48215 r48216 2514 2514 $rval = $wpdb->update( $wpdb->comments, $data, compact( 'comment_ID' ) ); 2515 2515 2516 if ( false === $rval ) { 2517 if ( $wp_error ) { 2518 return new WP_Error( 'db_update_error', __( 'Could not update comment in the database.' ), $wpdb->last_error ); 2519 } else { 2520 return false; 2521 } 2522 } 2523 2516 2524 // If metadata is provided, store it. 2517 2525 if ( isset( $commentarr['comment_meta'] ) && is_array( $commentarr['comment_meta'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.