Wordpress 3.5.2
[autoinstalls/wordpress.git] / wp-includes / class-wp-admin-bar.php
index f8ee5e2d937077d223937e71749f0b37f98e4eae..1483da2d992f1a0405bf604d7e51e4a69aa55287 100644 (file)
@@ -354,7 +354,9 @@ class WP_Admin_Bar {
                                        $this->_render_group( $group );
                                } ?>
                        </div>
+                       <?php if ( is_user_logged_in() ) : ?>
                        <a class="screen-reader-shortcut" href="<?php echo esc_url( wp_logout_url() ); ?>"><?php _e('Log Out'); ?></a>
+                       <?php endif; ?>
                </div>
 
                <?php