Changeset:
        4d558678be30
        
https://sourceforge.net/p/mrbs/hg-code/ci/4d558678be3075d7a98c355c967b567d8fd678ab
Author:
        Campbell Morrison <[email protected]>
Date:
        Wed Sep 14 14:45:06 2016 +0100
Log message:

Fixed problem with WordPress authentication

diffstat:

 web/auth/auth_wordpress.inc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 104c2bb4dc1f -r 4d558678be30 web/auth/auth_wordpress.inc
--- a/web/auth/auth_wordpress.inc       Wed Sep 14 13:45:27 2016 +0100
+++ b/web/auth/auth_wordpress.inc       Wed Sep 14 14:45:06 2016 +0100
@@ -64,7 +64,7 @@
       $admin_roles = array($admin_roles);
     }
     // Put the roles into the standard WordPress format
-    $admin_roles = array_map('standardise_role_name', $admin_roles);
+    $admin_roles = array_map(__NAMESPACE__ . "\\standardise_role_name", 
$admin_roles);
     
     // Check to see if one of the user's roles is an admin role
     foreach($wp_user->roles as $user_role)

------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to