summaryrefslogtreecommitdiff
path: root/Postman/PostmanUtils.php
diff options
context:
space:
mode:
authoryehuda <yehuda@myinbox.in>2019-03-04 16:44:26 +0200
committeryehuda <yehuda@myinbox.in>2019-03-04 16:44:26 +0200
commit1c687646231fa31cea77eb3aa994a4a037ce670a (patch)
tree45e0858a4869f6a082fec91d34666627448f8d54 /Postman/PostmanUtils.php
parente33f6bd6bce974ec0d9836e1589ea1facf159841 (diff)
downloadPost-SMTP-1c687646231fa31cea77eb3aa994a4a037ce670a.zip
* 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
Diffstat (limited to 'Postman/PostmanUtils.php')
-rw-r--r--Postman/PostmanUtils.php5
1 files changed, 5 insertions, 0 deletions
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,