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

Change pmpro_get_ip conditional #3192

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

andrewlimaza
Copy link
Contributor

  • BUG FIX: Fixed an issue where IPv6 address would be used and not return an IP address. Moved to an AND condition to fix it.

I also moved around the sanitization of the IP address, it makes sense to use the preg_replace before the filter_var method.

All Submissions:

* BUG FIX: Fixed an issue where IPv6 address would be used and not return an IP address. Moved to an AND condition to fix it.
@ideadude ideadude merged commit 3a62f91 into strangerstudios:dev Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants