Addendum to last commitit
authorLaury GvR <laury@gaslightmedia.com>
Mon, 6 Jun 2016 21:02:42 +0000 (17:02 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 6 Jun 2016 21:02:42 +0000 (17:02 -0400)
index.php

index 22e0226..8ef3dc1 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Database Contacts
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 1.0.9
+ * Version: 1.0.10
  * Author: Gaslight Media
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -19,7 +19,7 @@
  * @package glmMembersDatabaseContacts
  * @author Gaslight Media <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.0.9
+ * @version 1.0.10
  */
 
 /*
@@ -231,10 +231,10 @@ if ($wpUserID) {
  */
 
 function my_login_redirect($redirect_to, $request) {
-    if (get_option('glm_member_db_frontend_login_request') == 'false') {
+    if (get_option('glm_members_database_frontend_login_request') == 'false') {
         $redirect_to = get_admin_url() . "admin.php?page=glm-members-admin-menu-member";
     } else {
-        update_option('glm_member_db_frontend_login_request', 'false');
+        update_option('glm_members_database_frontend_login_request', 'false');
     }
     return $redirect_to;
 }