SAML-Toolkits / wordpress-saml

OneLogin SAML plugin for Wordpress
MIT License
65 stars 74 forks source link

Stop using `$blog_id` before it's defined #70

Closed forevermatt closed 6 years ago

forevermatt commented 6 years ago

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