WordPress.org

Make WordPress Core

Ticket #12211: privacy-on.patch

File privacy-on.patch, 1.9 KB (added by scottbasgaard, 8 years ago)
  • admin-header.php

    diff -u old/admin-header.php new/admin-header.php
    old new  
    9595}
    9696?>
    9797
    98 <img id="header-logo" src="../wp-includes/images/blank.gif" alt="" width="32" height="32" /> <h1 id="site-heading" <?php echo $title_class ?>><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit Site') ?>"><span id="site-title"><?php echo $blog_name ?></span> <em id="site-visit-button" class="site-title-button"><?php _e('Visit Site') ?></em></a><?php if ( ! get_option('blog_public') ) { ?> <a href="options-privacy.php" title="<?php esc_attr_e('Your blog is hidden from search engines') ?>"><em class="site-title-button"><?php _e('Privacy On') ?></em></a><?php } ?></h1>
     98<img id="header-logo" src="../wp-includes/images/blank.gif" alt="" width="32" height="32" /> <h1 id="site-heading" <?php echo $title_class ?>><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php esc_attr_e('Visit Site') ?>"><span id="site-title"><?php echo $blog_name ?></span> <em id="site-visit-button" class="site-title-button"><?php esc_html_e('Visit Site') ?></em></a><?php if ( ! get_option('blog_public') ) { ?><a id="privacy-on-link" class="site-title-button" href="options-privacy.php" title="<?php esc_attr_e('Your blog is hidden from search engines') ?>"> <?php esc_html_e('Privacy On') ?></a><?php } ?></h1>
    9999
    100100<div id="wphead-info">
    101101<div id="user_info">
  • wp-admin.dev.css

    diff -u old/wp-admin.dev.css new/wp-admin.dev.css
    old new  
    920920        vertical-align: middle;
    921921}
    922922
     923#wphead #privacy-on-link {
     924        background:none;
     925        color:#fff;
     926}
     927
    923928#wphead h1 a:hover {
    924929        text-decoration:none;
    925930}
    926 #wphead h1 a:hover #site-title {
     931#wphead h1 a:hover #site-title,
     932#wphead h1 #privacy-on-link:hover {
    927933        text-decoration:underline;
    928934}
    929935