Closed kasparsd closed 11 months ago
Determining user's IP reliably is difficult when the web server is behind layers of proxies as the request is made by the intermediary on behalf of the client. Here is how various services pass the origin IP to the server:
There is no reliable way for the WP plugin or WP core to detect the client IP so it would be useful to offer a filter for the current logic here:
https://github.com/xwp/stream/blob/bfc0530d617007040ce938f9eb20e7efb87c9fde/classes/class-log.php#L45-L49
Version 4.0.0 has been tagged https://github.com/xwp/stream/releases/tag/4.0.0 and deployed to WP.org https://plugins.trac.wordpress.org/changeset/3019411/stream
Feature Request
Determining user's IP reliably is difficult when the web server is behind layers of proxies as the request is made by the intermediary on behalf of the client. Here is how various services pass the origin IP to the server:
There is no reliable way for the WP plugin or WP core to detect the client IP so it would be useful to offer a filter for the current logic here:
https://github.com/xwp/stream/blob/bfc0530d617007040ce938f9eb20e7efb87c9fde/classes/class-log.php#L45-L49