The snippet close to the top rated of your injection is to blame for checking to discover if the website visitor is at the moment logged in to WordPress.
Redirecting links is like sending online buyers to unique URLs https://www.youtube.com/watch?v=v6ObHdplX8Y