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