Skip to content

Commit 9651cc6

Browse files
lint fix
1 parent 7cd68a9 commit 9651cc6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/wp-includes/abilities/class-wp-settings-abilities.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,7 @@ public static function execute_update_settings( $input = array() ) {
421421
$sanitized_value = call_user_func( $args['sanitize_callback'], $sanitized_value );
422422
}
423423

424-
425-
$updated = update_option( $option_name, $sanitized_value );
424+
$updated = update_option( $option_name, $sanitized_value );
426425

427426
// Cast values for comparison (handles type mismatches from database and REST sanitization).
428427
$current_value = self::cast_value( get_option( $option_name ), $setting_type );

0 commit comments

Comments
 (0)