authMgrPlus_keyword_owner requires argument $keyword
This commit is contained in:
parent
099104d832
commit
556ef6f3d6
@ -529,7 +529,7 @@ function authMgrPlus_manage_keyword( $keyword, $capability ) {
|
|||||||
if ( authMgrPlus_have_capability( AuthMgrPlusCapability::ManageUsrsURL ) )
|
if ( authMgrPlus_have_capability( AuthMgrPlusCapability::ManageUsrsURL ) )
|
||||||
return true;
|
return true;
|
||||||
// Editor?
|
// Editor?
|
||||||
$owner = authMgrPlus_keyword_owner();
|
$owner = authMgrPlus_keyword_owner($keyword);
|
||||||
if ( $owner === null ) {
|
if ( $owner === null ) {
|
||||||
if ( authMgrPlus_have_capability( AuthMgrPlusCapability::ManageAnonURL ) ) {
|
if ( authMgrPlus_have_capability( AuthMgrPlusCapability::ManageAnonURL ) ) {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user