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

Option to prevent storing customer IP address #190

Open
rvdsteege opened this issue Jul 11, 2024 · 0 comments
Open

Option to prevent storing customer IP address #190

rvdsteege opened this issue Jul 11, 2024 · 0 comments

Comments

@rvdsteege
Copy link
Member

From customer:

I also see the IP address there, I prefer not to store that, can I turn that off?

// User IP.
if ( null === $customer->get_ip_address() ) {
// IP (@link https://github.com/WordPress/WordPress/blob/4.9.4/wp-includes/comment.php#L1957-L1960).
$ip_address = Core_Util::get_remote_address();
if ( ! empty( $ip_address ) ) {
$customer->set_ip_address( $ip_address );
}
}

Internal Help Scout ticket: https://secure.helpscout.net/conversation/2629828762/27376

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant