Skip to content

Commit 57f4ecd

Browse files
authored
Add files via upload
1 parent 60492a3 commit 57f4ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/triggers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function console_log() {
112112
$current_page_url = sanitize_text_field( $current_page_url );
113113

114114
// Check if $current_page_url is 'wp-cron.php' and omit capturing and sending statement, in order to not capture page "views" of cron events.
115-
if ( contains( 'wp-cron.php', $current_page_url ) | $current_page_url == 'http://') {
115+
if ( contains( 'wp-cron.php', $current_page_url ) | contains( 'wp-login.php', $current_page_url ) | contains( 'xmlrpc.php', $current_page_url ) | $current_page_url == 'http://') {
116116
return false;
117117
}
118118

0 commit comments

Comments
 (0)