Change the admin url text
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 11 Dec 2015 19:35:08 +0000 (14:35 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 11 Dec 2015 19:35:08 +0000 (14:35 -0500)
controllers/front.php

index db7dfb2..fe32318 100644 (file)
@@ -154,8 +154,8 @@ class staffords_employment_front
         $to        = $plugin_options['notification_email'];
         $name      = $plugin_options['replyto_name'];
         $email     = $plugin_options['replyto_email'];
-        $message   = $plugin_options['notification_message'] . "\n\n";
-        $message  .= '<a href="' . admin_url() . 'edit.php?post_type=staffords_jobs&page=applications">Your Admin</a>.' . "\n\n";
+        $message   = $plugin_options['notification_message'] . "\n";
+        $message  .= '<a href="' . admin_url() . 'edit.php?post_type=staffords_jobs&page=applications">' . get_bloginfo('name') . ' Admin Area</a>.' . "\n\n";
         $headers   = array();
         $headers[] = "From: {$fromName} <{$from}>";
         $headers[] = "Reply-To: {$name} <{$email}>";