We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When WPMS_SMTP_AUTH is set to false, the username and password fields should be disabled.
Like this :
This patch fix the problem
--- a/src/Providers/OptionsAbstract.php 2024-08-27 15:18:46.063537256 +0200 +++ b/src/Providers/OptionsAbstract.php 2024-08-27 15:30:39.056609839 +0200 @@ -331,7 +331,7 @@ </div> <!-- SMTP Username --> - <div id="wp-mail-smtp-setting-row-<?php echo esc_attr( $this->get_slug() ); ?>-user" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-text wp-mail-smtp-clear <?php echo ! $this->connection_options->is_const_defined( $this->get_slug(), 'auth' ) && ! $this->connection_options->get( $this->get_slug(), 'auth' ) ? 'inactive' : ''; ?>"> + <div id="wp-mail-smtp-setting-row-<?php echo esc_attr( $this->get_slug() ); ?>-user" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-text wp-mail-smtp-clear <?php echo $this->connection_options->is_const_defined( $this->get_slug(), 'auth' ) && ! $this->connection_options->get( $this->get_slug(), 'auth' ) ? 'inactive' : ''; ?>"> <div class="wp-mail-smtp-setting-label"> <label for="wp-mail-smtp-setting-<?php echo esc_attr( $this->get_slug() ); ?>-user"><?php esc_html_e( 'SMTP Username', 'wp-mail-smtp' ); ?></label> </div> @@ -345,7 +345,7 @@ </div> <!-- SMTP Password --> - <div id="wp-mail-smtp-setting-row-<?php echo esc_attr( $this->get_slug() ); ?>-pass" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-password wp-mail-smtp-clear <?php echo ! $this->connection_options->is_const_defined( $this->get_slug(), 'auth' ) && ! $this->connection_options->get( $this->get_slug(), 'auth' ) ? 'inactive' : ''; ?>"> + <div id="wp-mail-smtp-setting-row-<?php echo esc_attr( $this->get_slug() ); ?>-pass" class="wp-mail-smtp-setting-row wp-mail-smtp-setting-row-password wp-mail-smtp-clear <?php echo $this->connection_options->is_const_defined( $this->get_slug(), 'auth' ) && ! $this->connection_options->get( $this->get_slug(), 'auth' ) ? 'inactive' : ''; ?>"> <div class="wp-mail-smtp-setting-label"> <label for="wp-mail-smtp-setting-<?php echo esc_attr( $this->get_slug() ); ?>-pass"><?php esc_html_e( 'SMTP Password', 'wp-mail-smtp' ); ?></label> </div>
I'm still available
Thanks,
The text was updated successfully, but these errors were encountered:
Hi @neovision-host,
thank you for opening this GH issue and providing a fix.
Our team will fix this in the next plugin update.
Thank you and have a nice day!
Sorry, something went wrong.
Hello,
With the latest version of the plugin the problem is still present.
Can you fix it?
Best regards,
Hey @floasmf,
I'm sorry, this was not included in the last plugin update. We'll try to release it as soon as possible.
Have a nice day!
No branches or pull requests
When WPMS_SMTP_AUTH is set to false, the username and password fields should be disabled.
Like this :
This patch fix the problem
I'm still available
Thanks,
The text was updated successfully, but these errors were encountered: