False Positive Warning – Solution inside ;)

[ad_1]

Hi Benjamin,

Your plugin throws a false positive warning when WP Staging backup plugin is installed like “These maxmind files were loaded from other plugins…”

Error: https://monosnap.com/file/bAVSadkiWwFXkAIKSbWskXMVNM74EQ

In WP Staging, we have a class that has the file name DebugLogFileReader.php.

Your code checks only for the ending *Reader.php, thus adding our class to the error handler. I suggest comparing against the whole file name or taking a portion of the absolute path into comparison.

Relevant code: https://monosnap.com/file/HrO89GVvf2YEEwnLKvGBcbmMTLmCaN

Cheers
René

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer