Admin toolbar link
-
Hi,
I am using your plugin in conjunction with several others to create quite a complex setup, but I will try to explain simplified!
Basically when a user registered on our multisite a ‘template’ site is cloned for them, with lot of things hidden from all users except me (superadmin).
The only problem is when I am logged in to the template site and save the admin toolbar, the WP nonce value at that time is saved into the URL, so the user of the cloned site is unable to log out.
The most simple solution would be to modify the link to link to <?php echo wp_logout_url( home_url() ); ?>, but this ofcourse doesn’t work.
The only thing I can think would be to create a custom page that refreshed to the wp_logout_url, and adding a link to that in the admin toolbar. Can you think of any better suggestions to try?
Thanks,
Lloyd
The topic ‘Admin toolbar link’ is closed to new replies.