From f627e0d82c18a1ed60eead38ce38746ded43adc6 Mon Sep 17 00:00:00 2001 From: yehudah Date: Sun, 17 Feb 2019 20:56:03 +0000 Subject: = 1.9.7 - 2019-02-17 * New: Fallback Feature - Configure a backup SMTP when emails are failing. * New: WordPress Multisite compability - with global settings. * New: Email Log capability - give other user cheking the logs. * Fixed: compatibility with mailster plugin * Fixed: Mandrill exception bug - Thanks to Niels de Blaauw from Level-Level --- Postman/PostmanUtils.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Postman/PostmanUtils.php') diff --git a/Postman/PostmanUtils.php b/Postman/PostmanUtils.php index 5405b79..8c7081f 100644 --- a/Postman/PostmanUtils.php +++ b/Postman/PostmanUtils.php @@ -36,6 +36,10 @@ class PostmanUtils { * @return string */ public static function getPageUrl( $slug ) { + if ( is_network_admin() ) { + return network_admin_url( 'admin.php?page=' . $slug ); + } + return get_admin_url() . 'admin.php?page=' . $slug; } @@ -393,6 +397,7 @@ class PostmanUtils { if ( $logger->isTrace() ) { $logger->trace( 'Registering admin menu ' . $callbackName ); } + add_action( 'admin_menu', array( $viewController, $callbackName, -- cgit v1.2.3