From: Steve Sutton Date: Thu, 28 Jun 2018 12:56:26 +0000 (-0400) Subject: Fix url for the detail page X-Git-Tag: v2.0.0~14 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1f52a8348ffbe5c9a16682891a73beae7060762f;p=WP-Plugins%2Fglm-serverstats.git Fix url for the detail page Use admin url. --- diff --git a/models/glmInfoNotifications.php b/models/glmInfoNotifications.php index 34bccc1..1a6068c 100644 --- a/models/glmInfoNotifications.php +++ b/models/glmInfoNotifications.php @@ -72,6 +72,7 @@ class glmInfoNotifications 'messages' => $messages, 'status' => $status, 'view_type' => $view_type, + 'admin_url' => admin_url('admin.php'), ); // Return status, suggested view, and data to controller diff --git a/views/glmInfoNotifications.html b/views/glmInfoNotifications.html index aa5e688..f2d0807 100644 --- a/views/glmInfoNotifications.html +++ b/views/glmInfoNotifications.html @@ -23,7 +23,7 @@ {foreach $messages as $m} {/foreach}