- This topic is empty.
-
AuthorPosts
-
December 28, 2011 at 12:24 pm #35865
cre8tive1
MemberHi 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?
December 28, 2011 at 12:37 pm #93539TheDoc
MemberHmmmm. 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.
December 28, 2011 at 12:54 pm #93541cre8tive1
MemberI 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() {?>
}
?>December 28, 2011 at 1:21 pm #93542TheDoc
MemberNo, 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.
December 29, 2011 at 11:43 pm #93689Nick111111
MemberYes, same thing happening to me.
December 29, 2011 at 11:49 pm #93690workinclasshero
MemberThis article should help guys. http://wp.tutsplus.com/tutorials/how-to-disable-the-admin-bar-in-wordpress-3-3/
- ',
-
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.