summaryrefslogtreecommitdiff
path: root/Postman/PostmanUtils.php
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2017-11-17 13:03:43 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2017-11-17 13:03:43 +0000
commit0b244f7df855f16d1d767054bd7b728ef21462e9 (patch)
tree0a48cb82a796c6b7e2432741b03995cb2bae611e /Postman/PostmanUtils.php
parent238d3e53f51c4408581b4961924120ac008a2ae4 (diff)
downloadPost-SMTP-0b244f7df855f16d1d767054bd7b728ef21462e9.zip
= 1.7.8 - 2017-11-17
* = Menu Items grouping = * Fixed: IP detection error in some web hosts * Fixed: Link open in new page attribute = _blank * Fixed: Replace deprecated PHP 7 functions. * Updated: Validator TLD's list * Added: Email log date and search filter. * Added: Alert on sending error (Fallback to local mail) * Added: Email body preview (not raw)
Diffstat (limited to 'Postman/PostmanUtils.php')
-rw-r--r--Postman/PostmanUtils.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Postman/PostmanUtils.php b/Postman/PostmanUtils.php
index 70a0ec4..fe7cbf4 100644
--- a/Postman/PostmanUtils.php
+++ b/Postman/PostmanUtils.php
@@ -10,13 +10,13 @@ class PostmanUtils {
private static $logger;
private static $emailValidator;
- const POSTMAN_SETTINGS_PAGE_STUB = 'postman';
+ const POSTMAN_SETTINGS_PAGE_STUB = 'postman';
const REQUEST_OAUTH2_GRANT_SLUG = 'postman/requestOauthGrant';
const POSTMAN_EMAIL_LOG_PAGE_STUB = 'postman_email_log';
// redirections back to THIS SITE should always be relative because of IIS bug
- const POSTMAN_EMAIL_LOG_PAGE_RELATIVE_URL = 'tools.php?page=postman_email_log';
- const POSTMAN_HOME_PAGE_RELATIVE_URL = 'options-general.php?page=postman';
+ const POSTMAN_EMAIL_LOG_PAGE_RELATIVE_URL = 'admin.php?page=postman_email_log';
+ const POSTMAN_HOME_PAGE_RELATIVE_URL = 'admin.php?page=postman';
// custom admin post page
const ADMIN_POST_OAUTH2_GRANT_URL_PART = 'admin-post.php?action=postman/requestOauthGrant';
@@ -36,7 +36,7 @@ class PostmanUtils {
* @return string
*/
public static function getPageUrl( $slug ) {
- return get_admin_url() . 'options-general.php?page=' . $slug;
+ return get_admin_url() . 'admin.php?page=' . $slug;
}
/**