Support » Plugins » Loginout hook not registering in loop

  • weasello



    I’ve been making plugins and coding away all amateur-style and I ran into a frustrating bug(?).

    The function wp_loginout(); works fine in my sidebar, and works fine in my comments section in the submission form.

    I decided I wanted to change these up, and made a handy plugin to do so (located here:

    My plugin works beautifully in my sidebar. Text changes, redirect tags added. However, the comment section isn’t being registered!

    I put in a bunch of echo tags and found out that the hook isn’t even snagging. My plugin isn’t executed when wp_loginout(); is called within TheLoop, it seems.

    Does anyone know what’s going on? Or better yet, does anyone know how to fix it?

  • The topic ‘Loginout hook not registering in loop’ is closed to new replies.