We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ee8c38 commit c257425Copy full SHA for c257425
1 file changed
src/wp-includes/abilities/class-wp-settings-abilities.php
@@ -426,8 +426,7 @@ public static function execute_update_settings( $input = array() ) {
426
$sanitized_value = call_user_func( $args['sanitize_callback'], $sanitized_value );
427
}
428
429
-
430
- $updated = update_option( $option_name, $sanitized_value );
+ $updated = update_option( $option_name, $sanitized_value );
431
432
// Cast values for comparison (handles type mismatches from database and REST sanitization).
433
$current_value = self::cast_value( get_option( $option_name ), $setting_type );
0 commit comments