diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2017-10-28 20:21:02 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2017-10-28 20:21:02 +0000 |
commit | 2cddebe14e58deb22bc3849e55e78eed02e53ec7 (patch) | |
tree | 692f8588b736c760da6ac4dc56b917bc0a1e1ff2 /Postman/Postman-Connectivity-Test | |
parent | a55cff0dfacfb27a80e763b009b47daea9b61f12 (diff) | |
download | Post-SMTP-2cddebe14e58deb22bc3849e55e78eed02e53ec7.zip |
= 1.7.8 - 2017-10-28
* Fixed: IP detection error in some web hosts
* Fixed: Link open in new page attribute = _blank
* Fixed: Replace deprecated PHP 7 functions.
Diffstat (limited to 'Postman/Postman-Connectivity-Test')
-rw-r--r-- | Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php | 2 | ||||
-rw-r--r-- | Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php b/Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php index 069c414..9999b1d 100644 --- a/Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php +++ b/Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php @@ -154,7 +154,7 @@ class PostmanConnectivityTestController { } print '</table>'; /* Translators: Where %s is the name of the service providing Internet connectivity test */ - printf( '<p class="portquiz" style="display:none; font-size:0.8em">* %s</p>', sprintf( __( 'According to %s', Postman::TEXT_DOMAIN ), '<a target="_new" href="http://ww.downor.me/portquiz.net">portquiz.net</a>' ) ); + printf( '<p class="portquiz" style="display:none; font-size:0.8em">* %s</p>', sprintf( __( 'According to %s', Postman::TEXT_DOMAIN ), '<a target="_blank" href="http://ww.downor.me/portquiz.net">portquiz.net</a>' ) ); printf( '<p class="ajax-loader" style="display:none"><img src="%s"/></p>', plugins_url( 'post-smtp/style/ajax-loader.gif' ) ); print '<section id="conclusion" style="display:none">'; print sprintf( '<h3>%s:</h3>', __( 'Summary', Postman::TEXT_DOMAIN ) ); diff --git a/Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php index f8c18a4..63acb79 100644 --- a/Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php +++ b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php @@ -150,7 +150,7 @@ error_reporting(E_ERROR); $tldTree = array(); $list = file_get_contents(URL); // $list = "bg\na.bg\n0.bg\n!c.bg\n"; -$lines = split("\n", $list); +$lines = explode("\n", $list); $licence = TRUE; if ($format == "php") echo "<?php\n"; @@ -176,7 +176,7 @@ foreach ($lines as $line) { } // this must be a TLD - $tldParts = split('\.', $line); + $tldParts = preg_split('\.', $line); buildSubdomain($tldTree, $tldParts); } |