Compatibility with Brizy Plugin
-
Hi guys,
I’m a developer of the brizy plugin. We have a few users using Speed booster with brizy and there are some issues between our plugins.
The problem is our iframe gets broken when the minify html is enabled. I’ve looked over the code and I see you guys tried to solve something when brizy is installed.
I’m talking about the functionshould_plugin_run
in the classSpeed_Booster_Pack
that has a key'brizy' => 'edit'
. I can’t understand what it means but we don’t have such requests throughGET
. So I think that check makes no sense or I am missing something.
Anyway, at the moment to fix this broken iframe we need to have another check when brizy is installedif ( class_exists( 'Brizy_Editor' ) && ( isset( $_GET[ Brizy_Editor::prefix( '-edit' ) ] ) || isset( $_GET[ Brizy_Editor::prefix( '-edit-iframe' ) ] ) ) ) { return false; }
Can you guys add this code after that foreach in the function
should_plugin_run
?
I used our functionBrizy_Editor::prefix()
because we have a feature named White Label where users can create their own brand so in this case they can change all prefixes and the varbrizy-edit
will becomeuserPrefix-edit
.
If I don’t miss something, we should also delete the variablebrizy
from that array.All the Best,
ViorelThe page I need help with: [log in to see the link]
- The topic ‘Compatibility with Brizy Plugin’ is closed to new replies.