Make WordPress Core

Changeset 7522


Ignore:
Timestamp:
03/26/2008 07:14:07 AM (17 years ago)
Author:
markjaquith
Message:

Consensus is to make "Visit Site" links open in the same tab/window. fixes #6163

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r7435 r7522  
    6262<div id="wpcontent">
    6363<div id="wphead">
    64 <h1><?php bloginfo('name'); ?><span id="viewsite"><a href="<?php echo trailingslashit( get_option('home') ); ?>" target="_blank"><?php _e('Visit Site') ?></a></span></h1>
     64<h1><?php bloginfo('name'); ?><span id="viewsite"><a href="<?php echo trailingslashit( get_option('home') ); ?>"><?php _e('Visit Site') ?></a></span></h1>
    6565</div>
    6666<div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> | <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a> | <?php _e('<a href="http://codex.wordpress.org/">Help</a>') ?> | <?php _e('<a href="http://wordpress.org/support/">Forums</a>') ?></p></div>
  • trunk/wp-admin/themes.php

    r7230 r7522  
    2020<div id="message1" class="updated fade"><p><?php _e('The active theme is broken.  Reverting to the default theme.'); ?></p></div>
    2121<?php elseif ( isset($_GET['activated']) ) : ?>
    22 <div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s" target="_blank">Visit site</a>'), get_bloginfo('url') . '/'); ?></p></div>
     22<div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s">Visit site</a>'), get_bloginfo('url') . '/'); ?></p></div>
    2323<?php endif; ?>
    2424
Note: See TracChangeset for help on using the changeset viewer.