PDF rausgenommen

This commit is contained in:
aschwarz
2023-01-23 11:03:31 +01:00
parent 82d562a322
commit a6523903eb
28078 changed files with 4247552 additions and 2 deletions

View File

@ -0,0 +1,52 @@
=== Remove IP ===
Contributors: gui.do
Tags: comments, IP
Requires at least: 2.8
Tested up to: 4.4
Stable tag: trunk
A simple plugin to not log IPs from comments.
== Description ==
Remove IP it's a really-really-simple plugin to not log the IP address from the people that comment on your wordpress
installation.
This plugin will be useful to people that cannot/or don't want to use [libapache2-mod-removeip](http://riseuplabs.org/privacy/apache/ "libapache2-mod-removeip") (because you don't use
apache or don't want to wipe out the IP logging on all vhosts).
== Installation ==
1. Upload the removeip folder to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. voila
== Frequently Asked Questions ==
= Do I need this? =
If you are reading this it's probably because you are interested on your commenters anonymity. If you don't, you don't need this plugin.
= Is this going to annonymize the logs of my webserver? =
No, sorry. Try libapache2-mod-removeip if you use apache2.
= I installed libapache2-mod-removeip, do I need this plugin too? =
No, you don't. The libapache-mod-removeip will hide the IP address from the commenters to wordpress, the same as this plugin does.
= Can I use it with wordpress.com stats/google analytics? =
Sure, but I'm not sure that you really want to let google or wordpress.com register the IP address from your commenters.
= Your plugin is lame! =
Yep, I know. I had to make it work for a project that uses nginx as webserver and cannot switch to apache and we got tired
of editing wordpress core files... so I needed it. And it's always nice to share :)
== Changelog ==
= 0.1 =
* First version.

View File

@ -0,0 +1,37 @@
<?php
/*
Plugin Name: Remove IP
Plugin URI: http://wordpress.org/plugins/remove-ip/
Description: A simple plugin to not lop IPs from comments.
Version: 0.1
Author: guido
Author URI: http://www.bruo.org
*/
/* Copyright 2009-2013 Remove IP (email : guido@bruo.org)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
add_filter('pre_comment_user_ip', 'pre_comment_anon_ip');
function pre_comment_anon_ip()
{
$REMOTE_ADDR = "127.0.0.1";
return $REMOTE_ADDR;
}
?>