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

Stop using $blog_id before it's defined #70

Merged
merged 1 commit into from
Aug 16, 2018

Conversation

forevermatt
Copy link
Contributor

Based on the way is_user_member_of_blog(...) works...
https://core.trac.wordpress.org/browser/tags/4.9.8/src/wp-includes/user.php#L703
... providing an undefined variable will work the same as not providing anything for
the optional $blog_id variable, so I'm simply removing it from this function call.
Fixes #67

Based on the way `is_user_member_of_blog(...)` works...
https://core.trac.wordpress.org/browser/tags/4.9.8/src/wp-includes/user.php#L703
... providing an undefined variable will work the same as not providing anything for
the optional `$blog_id` variable, so I'm simply removing it from this function call.
Fixes SAML-Toolkits#67
@pitbulk pitbulk merged commit ca15871 into SAML-Toolkits:master Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants