WordPress.org

Ready to get started?Download WordPress

Forums

BulletProof Security
[resolved] WordPress Multisite W3 Cache network activated, BPS shows Not activated error (3 posts)

  1. Keith Aldrich
    Member
    Posted 1 year ago #

    Hi,

    I've got a WP Multisite, with W3 Total cache network activated.

    BP Security is showing an error that "W3 Total Cache code found in .htaccess, but it is deactivated".

    Everything seems to be working fine though..so it's not a major issue. However, I wanted to make sure to report it as it seems like a bug.

    http://wordpress.org/extend/plugins/bulletproof-security/

  2. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Yep, this is a known issue and has been fixed in BPS .48.1. If you would like to add the new code now this is the what, where and how.

    Open and edit /bulletproof-security/includes/functions.php

    Code line 866

    Replace....
        if ($return_var == 1) { // return $return_var; ---- 1 equals active
    
    ...with...
    	if ($return_var == 1 || is_plugin_active_for_network( 'w3-total-cache/w3-total-cache.php' )) { // checks if W3TC is active for Single site or Network

    Code line 874

    Replace...
    	elseif ($return_var != 1) {
    
    ...with...
    	elseif ($return_var != 1 || !is_plugin_active_for_network( 'w3-total-cache/w3-total-cache.php' )) { // checks if W3TC is active for Single site or Network
  3. Keith Aldrich
    Member
    Posted 1 year ago #

    Awesome, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic