Skip to content

Commit

Permalink
WP Mail SMTP v4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-sakal committed Dec 11, 2024
1 parent dcacef5 commit bf6b7c3
Show file tree
Hide file tree
Showing 34 changed files with 1,571 additions and 516 deletions.
27 changes: 15 additions & 12 deletions assets/css/smtp-admin.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/smtp-admin.min.css

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions assets/css/smtp-admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@
}
}

.wp-mail-smtp-google-sign-in-btn {
.wp-mail-smtp-sign-in-btn {
display: inline-flex;
align-items: center;
background-color: #4285F4;
Expand All @@ -1044,12 +1044,12 @@
box-shadow: none;
color: #7F7F7F;

.wp-mail-smtp-google-sign-in-icon__border,
.wp-mail-smtp-google-sign-in-icon__bg {
.wp-mail-smtp-sign-in-icon__border,
.wp-mail-smtp-sign-in-icon__bg {
fill: #D4D3D3;
}

.wp-mail-smtp-google-sign-in-icon__symbol {
.wp-mail-smtp-sign-in-icon__symbol {
fill: #7F7F7F;
}
}
Expand Down Expand Up @@ -1097,11 +1097,16 @@
margin-left: 16px;
}

&:disabled {
&:disabled,
&-disabled {
opacity: 0.5;
cursor: not-allowed;
}

&-disabled {
pointer-events: none;
}

&.wp-mail-smtp-btn-md {
font-size: 14px;
font-weight: 500;
Expand Down
17 changes: 17 additions & 0 deletions assets/images/providers/elasticemail.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 37 additions & 19 deletions assets/js/smtp-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,24 +255,6 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
$button.find( '.wp-mail-smtp-loading' ).show();
} );

$( '.email_test_tab_removal_notice' ).on( 'click', '.notice-dismiss', function() {
var $button = $( this );

$.ajax( {
url: ajaxurl,
dataType: 'json',
type: 'POST',
data: {
action: 'wp_mail_smtp_ajax',
nonce: wp_mail_smtp.nonce,
task: 'email_test_tab_removal_notice_dismiss',
},
beforeSend: function() {
$button.prop( 'disabled', true );
},
} );
} );

$( '#wp-mail-smtp-setting-gmail-one_click_setup_enabled-lite' ).on( 'click', function( e ) {
e.preventDefault();

Expand All @@ -297,6 +279,42 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
$field.focus();
$button.remove();
} );

$( '.email_test_tab_removal_notice' ).on( 'click', '.notice-dismiss', function() {
var $button = $( this );

$.ajax( {
url: ajaxurl,
dataType: 'json',
type: 'POST',
data: {
action: 'wp_mail_smtp_ajax',
nonce: wp_mail_smtp.nonce,
task: 'email_test_tab_removal_notice_dismiss',
},
beforeSend: function() {
$button.prop( 'disabled', true );
},
} );
} );

// Microsoft SMTP deprecation notice dismiss
$( '.microsoft_basic_auth_deprecation_notice' ).on( 'click', '.notice-dismiss', function() {
var $button = $( this );

$.ajax( {
url: ajaxurl,
dataType: 'json',
type: 'POST',
data: {
action: 'wp_mail_smtp_microsoft_basic_auth_deprecation_notice_dismiss',
nonce: wp_mail_smtp.nonce,
},
beforeSend: function() {
$button.prop( 'disabled', true );
},
} );
} );
},

education: {
Expand Down Expand Up @@ -414,7 +432,7 @@ WPMailSMTP.Admin.Settings = WPMailSMTP.Admin.Settings || ( function( document, w
} );

// Set settings changed attribute, if any input was changed.
$( ':input:not( #wp-mail-smtp-setting-license-key, .wp-mail-smtp-not-form-input, #wp-mail-smtp-setting-gmail-one_click_setup_enabled )', $settingPages ).on( 'change', function() {
$( ':input:not( #wp-mail-smtp-setting-license-key, .wp-mail-smtp-not-form-input, #wp-mail-smtp-setting-gmail-one_click_setup_enabled, #wp-mail-smtp-setting-outlook-one_click_setup_enabled )', $settingPages ).on( 'change', function() {
app.pluginSettingsChanged = true;
} );

Expand Down
2 changes: 1 addition & 1 deletion assets/js/smtp-admin.min.js

Large diffs are not rendered by default.

155 changes: 84 additions & 71 deletions assets/languages/wp-mail-smtp-vue.php

Large diffs are not rendered by default.

Loading

0 comments on commit bf6b7c3

Please sign in to comment.