{"id":26295498,"url":"https://github.com/pixovoid-net/anonymize-comment-ip","last_synced_at":"2026-04-25T18:31:33.246Z","repository":{"id":281903964,"uuid":"946823298","full_name":"PixoVoid-net/anonymize-comment-ip","owner":"PixoVoid-net","description":"A WordPress plugin that anonymizes comment IP addresses to comply with GDPR. Automatically anonymizes new comment IPs and provides an admin interface to anonymize existing comment IPs.","archived":false,"fork":false,"pushed_at":"2025-03-11T18:24:14.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-11T19:31:50.806Z","etag":null,"topics":["mit-license","open-source","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://PixoVoid.net","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PixoVoid-net.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-11T18:21:50.000Z","updated_at":"2025-03-11T18:32:50.000Z","dependencies_parsed_at":"2025-03-11T19:42:15.890Z","dependency_job_id":null,"html_url":"https://github.com/PixoVoid-net/anonymize-comment-ip","commit_stats":null,"previous_names":["pixovoid-net/anonymize-comment-ip"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PixoVoid-net%2Fanonymize-comment-ip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PixoVoid-net%2Fanonymize-comment-ip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PixoVoid-net%2Fanonymize-comment-ip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PixoVoid-net%2Fanonymize-comment-ip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PixoVoid-net","download_url":"https://codeload.github.com/PixoVoid-net/anonymize-comment-ip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681077,"owners_count":20330155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mit-license","open-source","wordpress","wordpress-plugin"],"created_at":"2025-03-15T04:14:15.028Z","updated_at":"2025-12-29T18:36:49.458Z","avatar_url":"https://github.com/PixoVoid-net.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Anonymize Comment IPs**  \n\n**Anonymize Comment IPs** is a **lightweight and GDPR-compliant** WordPress plugin that **automatically anonymizes** comment IP addresses and provides a tool for **bulk anonymization of existing IPs**.\n\n---\n\n## **Disclaimer**  \n\nThis plugin is provided **\"as is\"** without warranties or guarantees of any kind. The author disclaims all implied warranties, including but not limited to merchantability, fitness for a particular purpose, and non-infringement of third-party rights. **Use of this plugin is at the user's own risk.**\n\n---\n\n## **Description**  \n\nWordPress **stores commenters' IP addresses** by default, which can raise **privacy concerns** and **GDPR compliance issues**.  \nThis plugin ensures compliance by:  \n\n✔ **Automatically anonymizing all new comment IPs** before they are stored.  \n✔ **Providing an admin tool** to **bulk anonymize** existing comment IPs in the database.  \n✔ **Supporting IPv4 \u0026 IPv6 anonymization** for maximum compatibility.  \n\n---\n\n## **Installation**  \n\n1. **Upload \u0026 Install**  \n   - Upload the plugin folder to `/wp-content/plugins/anonymize-comment-ip/`,  \n   - Or install it directly via the **WordPress Plugin Repository**.  \n\n2. **Activate the Plugin**  \n   - Go to **Plugins → Installed Plugins** and activate **Anonymize Comment IPs**.  \n\n3. **Automatic Anonymization Starts Immediately**  \n   - All **new comments** will have their IPs anonymized automatically.  \n   - To anonymize **existing IPs**, use the **admin tool** (see below).  \n\n---\n\n## **Usage**  \n\n### **Automatic Anonymization**  \n- The plugin **automatically anonymizes** all **new** comment IPs **before** they are saved to the database.  \n\n### **Bulk Anonymization of Existing IPs**  \n1. Go to **WordPress Dashboard → Anonymize IPs**.  \n2. Click the **\"Start Anonymization\"** button to anonymize **all previously stored** comment IPs.  \n3. A confirmation message will display the **number of anonymized IPs**.  \n\n---\n\n## **Features**  \n\n✔ **Automatic GDPR-Compliant IP Anonymization** – No user intervention required.  \n✔ **Bulk Anonymization** – One-click anonymization of all stored comment IPs.  \n✔ **Supports IPv4 \u0026 IPv6** – Ensures full compatibility.  \n✔ **Optimized Database Performance** – Only updates necessary records.  \n✔ **Admin-Friendly UI** – Easily manage everything in the WordPress dashboard.  \n✔ **Lightweight \u0026 Efficient** – Minimal performance impact.  \n\n---\n\n## **Function Reference**  \n\n### **`pixovoid_anonymize_ip($ip)`**  \nAnonymizes an IP address (supports both IPv4 \u0026 IPv6).  \n\n- **Parameter:**  \n  - `$ip` *(string)* – The original IP address.  \n- **Returns:**  \n  - *(string)* – The anonymized IP address.  \n\n**Example usage:**  \n```php\n$ip = '192.168.1.45';\n$anonymized_ip = pixovoid_anonymize_ip($ip); \n// Output: 192.168.1.0\n```\n\n---\n\n### **`pixovoid_filter_comment_ip($comment_ip)`**  \nFilters and anonymizes IPs for **new** comments **before saving** them.  \n\n- **Parameter:**  \n  - `$comment_ip` *(string)* – The original comment IP.  \n- **Returns:**  \n  - *(string)* – Anonymized IP.  \n\n---\n\n### **`pixovoid_anonymize_existing_ips()`**  \nAnonymizes **all previously stored** comment IPs in the database.  \n\n- **Returns:**  \n  - *(int)* – The number of updated comments.  \n\n---\n\n## **License**  \n\nThis plugin is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for more information.  \n\n---\n\n## **Author**  \n\nDeveloped by **[PixoVoid.net](https://pixovoid.net/)**.  \n\n---\n\n### 🚀 **Ensure GDPR compliance effortlessly with Anonymize Comment IPs!** 🚀  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixovoid-net%2Fanonymize-comment-ip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixovoid-net%2Fanonymize-comment-ip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixovoid-net%2Fanonymize-comment-ip/lists"}