Changeset 47922 for trunk/src/wp-includes/comment.php
- Timestamp:
- 06/07/2020 09:22:07 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r47887 r47922 2306 2306 if ( ! $wpdb->update( $wpdb->comments, array( 'comment_approved' => $status ), array( 'comment_ID' => $comment_old->comment_ID ) ) ) { 2307 2307 if ( $wp_error ) { 2308 return new WP_Error( 'db_update_error', __( 'Could not update comment status ' ), $wpdb->last_error );2308 return new WP_Error( 'db_update_error', __( 'Could not update comment status.' ), $wpdb->last_error ); 2309 2309 } else { 2310 2310 return false;
Note: See TracChangeset
for help on using the changeset viewer.