False Positive Warning – Solution inside ;)
-
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/HrO89GVvf2YEEwnLKvGBcbmMTLmCaNCheers
René
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘False Positive Warning – Solution inside ;)’ is closed to new replies.