updated plugin WP Mail SMTP
version 2.5.0
This commit is contained in:
@ -248,10 +248,8 @@ class MiscTab extends PageAbstract {
|
||||
$data['general'][ UsageTracking::SETTINGS_SLUG ] = false;
|
||||
}
|
||||
|
||||
$to_save = Options::array_merge_recursive( $options->get_all(), $data );
|
||||
|
||||
// All the sanitization is done there.
|
||||
$options->set( $to_save );
|
||||
$options->set( $data, false, false );
|
||||
|
||||
WP::add_admin_notice(
|
||||
esc_html__( 'Settings were successfully saved.', 'wp-mail-smtp' ),
|
||||
|
Reference in New Issue
Block a user