We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6d56cc commit 3d9145aCopy full SHA for 3d9145a
src/class-plugin.php
@@ -32,8 +32,8 @@ public static function install_optimized_endpoint(): void
32
public static function remove_optimized_endpoint(): void
33
{
34
// delete custom endpoint file
35
- if (file_exists(ABSPATH . '/koko-analytics-collect.php')) {
36
- unlink(ABSPATH . '/koko-analytics-collect.php');
+ if (file_exists(rtrim(ABSPATH, '/') . '/koko-analytics-collect.php')) {
+ unlink(rtrim(ABSPATH, '/') . '/koko-analytics-collect.php');
37
}
38
39
0 commit comments