Hi @wpmudev-support9,
Initially, I thought the problem was caused by the missing script.js. That’s not the case.
After updating Defender to 2.1.1.1, Defender Dashboard has stopped rendering properly as you can see on the screenshot below:
https://1drv.ms/u/s!AkPadOmCX3cyuHcVKdnUBmgB3pi8
Some WordPress websites will be able to render the Defender Dashboard just fine, some don’t. Maybe it was caused by a conflict with a different plugin or theme, I can’t pinpoint the exact issue for sure.
However, one simple fix took care of this problem for me:
- Edit defender-security/wp-defender.php
- Replace
add_filter( 'admin_body_class', array( &$this, 'adminBodyClasses' ) );
with add_filter( 'admin_body_class', array( &$this, 'adminBodyClasses' ), 11, 1 );
Please let me know if this change above can be integrated into Defender’s code base. This simple fix may improve its compatibility with other plugins and themes.
Thanks,
@awijasa
-
This reply was modified 6 years ago by
awijasa.