diff options
Diffstat (limited to 'Postman')
-rw-r--r-- | Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php | 2 | ||||
-rw-r--r-- | Postman/PostmanViewController.php | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php index e2dade8..a6ebbd5 100644 --- a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php +++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php @@ -204,7 +204,7 @@ class Postman_Zend_Mail_Protocol_Smtp extends Postman_Zend_Mail_Protocol_Abstrac $this->_send('STARTTLS'); $this->_expect(220, 180); - stream_context_set_option($this->_socket, 'ssl', 'verify_peer', true); + stream_context_set_option($this->_socket, 'ssl', 'verify_peer', false); //stream_context_set_option($this->_socket, 'ssl', 'verify_peer_name', false); stream_context_set_option($this->_socket, 'ssl', 'allow_self_signed', true); diff --git a/Postman/PostmanViewController.php b/Postman/PostmanViewController.php index 74f34c5..f9d6d2a 100644 --- a/Postman/PostmanViewController.php +++ b/Postman/PostmanViewController.php @@ -292,7 +292,8 @@ if ( ! class_exists( 'PostmanViewController' ) ) { print '<ul>'; printf( '<li><a href="%s" class="welcome-icon run-port-test">%s</a></li>', $this->getPageUrl( PostmanConnectivityTestController::PORT_TEST_SLUG ), __( 'Connectivity Test', Postman::TEXT_DOMAIN ) ); printf( '<li><a href="%s" class="welcome-icon run-port-test">%s</a></li>', $this->getPageUrl( PostmanDiagnosticTestController::DIAGNOSTICS_SLUG ), __( 'Diagnostic Test', Postman::TEXT_DOMAIN ) ); - printf( '<li><a href="https://wordpress.org/support/plugin/postman-smtp" class="welcome-icon postman_support">%s</a></li>', __( 'Online Support', Postman::TEXT_DOMAIN ) ); + printf( '<li><a href="https://wordpress.org/support/plugin/post-smtp" class="welcome-icon postman_support">%s</a></li>', __( 'Online Support', Postman::TEXT_DOMAIN ) ); + printf( '<li><div class="new-item"><span>New</span></div><a href="https://postmansmtp.com/category/guides/" class="welcome-icon postman_guides">%s</a></li>', __( 'Guides', Postman::TEXT_DOMAIN ) ); print '</ul></div></div></div></div>'; } } |