Wordfence On Multitheme
-
Hi,
I wrote before about Wordfence Falcon on a dual theme site (one rich content, other theme WCAG 2.0 Handicapped).
You informed me about how to stop Caching via a function call, doesnt really work out well that way since functions.php loads up after the plugin. So I modified the core code in wfcache setup as so:
global $tsscache;
if(strtolower(get_current_theme())== ‘handicapped access’) { echo get_current_theme();
$tsscache = false;
}
else
{
$tsscache=true;
}Then I just dump out of the cache setup just as if no caching were selected.
That all works fine.
However, Falcon appears to still want read cached files on the handicapped (non-cached) theme and of course the URI’s are the same.
Causes a mess due to WordPress’s poor widget management resulting in WP thinking that widgets are orphaned.
Where do I short circuit the cache read / output so I can just test if the handicapped flag is set and have Falcon go through normal non-cache output (aka: Through WP).
Thanks!
- The topic ‘Wordfence On Multitheme’ is closed to new replies.