Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other WP 3.3 Admin bar viewable to all site visitors when Admin logged in

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #35865
    cre8tive1
    Member

    Hi all,

    One of my clients recently upgraded his site to WP 3.3 and since that time whenever an administrator is logged into the website, ALL visitors to the site see the Admin bar.

    We have tried creating a new administrator account, but the error keeps returning. The real issue is that the admin bar is functional. So if my client is logged in to the website I can simultaneously go to the website on my computer and see the Admin bar and make changes to the website.

    Is anyone else having this serious error? Any suggestions on how to fix it?

    #93539
    TheDoc
    Member

    Hmmmm. I haven’t heard of this happening to anyone else yet. Must be a problem with the theme, I think. I’d check your functions.php file for anything to do with the admin bar.

    #93541
    cre8tive1
    Member

    I thought about that as well. I used the Starkers HTML5 as the starting point for the theme. I don’t see anything that would cause the problem.

    
    /**
    * @package WordPress
    * @subpackage Starkers HTML5
    */

    automatic_feed_links();

    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'before_widget' => '
  • ',
    'after_widget' => '
  • ',
    'before_title' => '

    ',
    'after_title' => '

    ',
    ));
    }

    /**
    * Conditional Page/Post Navigation Links
    * http://www.ericmmartin.com/conditional-pagepost-navigation-links-in-wordpress-redux/
    * If more than one page exists, return TRUE.
    */
    function show_posts_nav() {
    global $wp_query;
    return ($wp_query->max_num_pages > 1);
    }

    // This is the new comment markup - edit as you feel necessary
    function html5_comment($comment, $args, $depth) {
    $GLOBALS = $comment; ?>
    id="comment-">


    ' ); ?>

    %s says:'), get_comment_author_link()) ?>



    comment_approved == '0') : ?>







    $depth, 'max_depth' => $args))) ?>

    }

    // Changes the trailing into a trailing

    function close_comment() {?>

    }

    ?>
    #93542
    TheDoc
    Member

    No, that all looks good… Hmmmm.

    Were any edits made to the WP core? I guess for now I’d turn off the admin bar altogether so your client can still access the site.

    #93689
    Nick111111
    Member

    Yes, same thing happening to me.

    #93690
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Other’ is closed to new topics and replies.