diff --git a/wp-admin/options.php b/wp-admin/options.php index 1794086a80..b7fa72f921 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -423,6 +423,12 @@ foreach ( (array) $options as $option ) : $value = 'SERIALIZED DATA'; $disabled = true; } + } elseif ( str_starts_with( $option->option_name, 'connectors_' ) + && str_ends_with( $option->option_name, '_api_key' ) + ) { + // Mask connector API keys and prevent updates from this screen. + $value = _wp_connectors_mask_api_key( $option->option_value ); + $disabled = true; } else { $value = $option->option_value; $options_to_update[] = $option->option_name; diff --git a/wp-includes/version.php b/wp-includes/version.php index 6c09738119..5e85d49d93 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '7.0-beta2-61828'; +$wp_version = '7.0-beta2-61829'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.