wp-includes/widgets/class-wp-widget-recent-comments.php:173Handles updating settings for the current Recent Comments widget instance.
$new_instancearray$old_instancearrayarray public function update( $new_instance, $old_instance ) { $instance = $old_instance; $instance['title'] = sanitize_text_field( $new_instance['title'] ); $instance['number'] = absint( $new_instance['number'] ); return $instance; }Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/widgets/class-wp-widget-recent-comments.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.