-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
- Loading branch information
There are no files selected for viewing
4 comments
on commit 9bec7f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@psignoret since hooks and WP_Error instances are relatively new to our project, should these be namespaced, ie aadsso_user_not_assigned_to_group
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They should, but they haven't been up to now (WP_Error was already used for quite some time), so I don't think it's worth keeping this PR pending over that. It can (and should) be addressed separately, for all errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@psignoret I will have another PR incoming that will add some logging to all of the instances where a WP_Error is fired to allow us to leverage the hook adding in #168.
I'd be happy to address the namespacing with that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would en great!
nit:
not a member **of** a role-granting group