Skip to content

Commit

Permalink
= 1.5.7 =
Browse files Browse the repository at this point in the history
* Fixed static declaration to use array() constructor
  • Loading branch information
snupa committed May 2, 2017
1 parent 15d450c commit 7014e7e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 3 additions & 5 deletions features/restrict-login-user-role/UnloqLoginFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ class UnloqLoginFilter
* add any roles to block from any path besides
* wp-admin or custom path for admin login
*/
public static $RESTRICTED_ROLES = [
public static $RESTRICTED_ROLES = array(
'administrator',
'editor',
'author',
//contributor',
//'subscriber'
];
'author'
);

/**
* LoginFilter constructor.
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ For now, UNLOQ is available in English. Please consider helping translate UNLOQ.


== Changelog ==
= 1.5.7 =
* Fixed static declaration to use array() constructor

= 1.5.6 =
* Fixed $_GET non-isset() checked variable

Expand Down
2 changes: 1 addition & 1 deletion unloq.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Plugin Name: UNLOQ.io authentication
Plugin URI: https://unloq.io
Version: 1.5.6
Version: 1.5.7
Author: UNLOQ.io
Description: Perform UNLOQ.io authentications with the click of a button
*/
Expand Down

0 comments on commit 7014e7e

Please sign in to comment.