Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide IP

  • @ulferlingsson

    Participant

    After installing bbPress I discovered to my horror that the IP number of the author appeared in each post. I have now edited the php files on my installation to comment that out (I found three cases). It is crucial that the server NEVER SENDS THIS OUT, since it completely defeats all other privacy measures. Just hiding it on screen is pointless.

    The problem is that now I cannot update bbPress since that would restore the security vulnerability, unless there was aa feature added to turn this off in the Settings.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @robin-w

    Moderator

    The IP address only shows for users with bbpress role of keymaster !!

    so only keymasters ever see this.

    @vinod-dalvi

    Participant

    Instead of editing plugin code you can remove it by using below custom code in the functions.php file of your child theme or in another custom plugin.

    function vvd_no_view_ip( $author_ip, $r, $args ){
    	return false;	
    }
    add_filter('bbp_get_author_ip','vvd_no_view_ip', 10, 3 );
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar