• Resolved brad hogan

    (@bradley2083)


    Love the plugin. Running into an issue on a site where we use a plugin called Memberium (basically membership plugin that works well with Infusionsoft). The issue is that when I’m logged in with my admin account and I click to switch to one of my customer accounts (Subscriber role) – that works – but when switch back, any shortcodes that reference user data (name, email, etc.) are still pulling the Subscriber user rather than the admin user. Odd thing is that I am logged back in as the admin (full access to back-end etc.).

    Seems like some sort of caching mixup but I’ve tried and replicated with an Incognito window, after flushing the cache in Flywheel (our host) and still not working.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    I would say it’s best to get in touch with the author of the shortcode in question so they can take a look. User Switching essentially just handles swapping out your browser cookies in order to switch you between accounts, there’s no caching involved. It might be that the shortcode uses an object cache that’s not being flushed correctly when switching between users.

Viewing 1 replies (of 1 total)
  • The topic ‘Caching issues when switching back’ is closed to new replies.