• Resolved lazmo88

    (@lazmo88)


    Hello, is there a tag for wp nonce which we can append in to the custom link? We are using Switch User plugin and this requires nonce to be included in the URL when switching off from another users account.

    When we edit the tool bar, the nonce is either static (link expired error) or if we leave the nonce out (also link expired error).

    Thank you for advising ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter lazmo88

    (@lazmo88)

    To clarify, this is how the custom tool bar link is saved for “logout” link: mywebsite.domain/wp-login.php?action=logout&_wpnonce=9f779ab95a

    As you can see the _wpnonce variable is static and causes all kind of issues.

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @lazmo88,

    The logout link support of the toolbar is currently only supported in the pro version: Custom Admin Interface Pro. When I get some free time, I will look at putting this in the free version. Thanks,

    Thread Starter lazmo88

    (@lazmo88)

    Ah, thanks for the reply @northernbeacheswebsites – if and when you do implement this on the free version, can you keep the User Switch plugin in mind? As it uses the same _wpnonce to verify the requests? ??

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    @lazmo88 Will do! Thanks,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Admin Tool Bar > WP Nonce?’ is closed to new replies.