Loginout hook not registering in loop (1 post)

  1. weasello
    Posted 9 years ago #


    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?

Topic Closed

This topic has been closed to new replies.

About this Topic