Do not show the Turbo link in the header if Gears is already being used, props markjaquith, fixes #8276

git-svn-id: https://develop.svn.wordpress.org/trunk@10031 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-12-04 06:35:21 +00:00
parent e3c3333f74
commit 7ebc549cc4
3 changed files with 31 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ if ( function_exists('mb_strlen') ) {
<div id="wphead-info">
<div id="user_info">
<p><?php printf(__('Howdy, <a href="%1$s" title="Edit your profile">%2$s</a>'), 'profile.php', $user_identity) ?>
<?php if ( ! $is_opera ) { ?> | <span id="gears-menu"><a href="tools.php"><?php _e('Turbo') ?></a></span><?php } ?> |
<?php if ( ! $is_opera ) { ?><span class="turbo-nag hidden"> | <a href="tools.php"><?php _e('Turbo') ?></a></span><?php } ?> |
<a href="<?php echo wp_logout_url() ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a></p>
</div>