Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix use "self" outside class scope. #138

Closed

Conversation

elct9620
Copy link

@elct9620 elct9620 commented Feb 7, 2016

The WP_Auth0 class implement insertAuth0Error method.
The function get_currentauth0userinfo is defined outside class, but it calls insertAuth0Error using self not WP_Auth0.

The WP_Auth0 class implement "insertAuth0Error" method.
The function "get_currentauth0userinfo" is defined outside class, but it calls "insertAuth0Error" using "self" not "WP_Auth0".
@glena
Copy link
Contributor

glena commented Feb 7, 2016

Good catch!

I will be releasing a new version soon (check the dev branch).

It would be awesome if you can target this PR to this branch, if not, I will add it as soon I have some free time before the release.

Thanks for your contribution.

@glena glena added the bug label Feb 7, 2016
@glena
Copy link
Contributor

glena commented Feb 26, 2016

fixed on V.Next

@glena glena closed this Feb 26, 2016
@elct9620 elct9620 deleted the hotfix/fix_invalid_class_scope branch May 2, 2016 12:15
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants