WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] Admin bar still cached to public (6 posts)

  1. jmeeter
    Member
    Posted 1 year ago #

    Just wanted to inform you all, the admin bar is still being cached and displayed to the public. I've used this code as a temporary workaround:

    // REMOVE FRONT-END ADMIN BAR (wp 3.1+)
    // http://codex.wordpress.org/Function_Reference/show_admin_bar
    if (function_exists('show_admin_bar')) {
    	show_admin_bar( false );
    }

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks @jmeeter, I'll look into this.

  3. Frederick Townes
    Member
    Plugin Author

    Posted 1 year ago #

    I'm still not able to duplicate this, except for cases where the caching for logged in users is enabled.

  4. jmeeter
    Member
    Posted 1 year ago #

    We have that setting enabled. =)

  5. Frederick Townes
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, you'll definitely want to disable that.

  6. jmeeter
    Member
    Posted 1 year ago #

    What if we want that feature enabled? :/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic