Fix admin url for the notification.
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 28 Jun 2018 12:58:13 +0000 (08:58 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 28 Jun 2018 12:58:13 +0000 (08:58 -0400)
Fixing the admin url for the notification.

setup/adminHooks.php

index cc158f3..2527d02 100644 (file)
@@ -154,7 +154,7 @@ if ( empty( get_option( GLM_SERVERSTATS_PLUGIN_RELAY_DISMISS ) ) ) {
 
             echo '<p><b>Gaslight Media Notification: </b><br>';
             echo '<p><b>'.$latest_data['title'].'</b><br>';
-            echo '<a href="' . admin_url( '/' ) . 'index.php?page=glm-info-main-menu">More Details</a></p>';
+            echo '<a href="' . admin_url( 'admin.php' ) . '?page=glm-info-main-menu">More Details</a></p>';
             echo '</div>';
         }, 10, 1
     );