WordPress.org

Make WordPress Core

Changeset 14237


Ignore:
Timestamp:
04/26/10 01:26:08 (4 years ago)
Author:
ryan
Message:

privacy_on_link_title and privacy_on_link_text filters to allow privacy plugins to customize privacy-on-link

File:
1 edited

Legend:

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

    r14190 r14237  
    110110        <span id="site-title"><?php echo $blog_name ?></span> 
    111111    </a> 
    112 <?php if ( current_user_can('manage_options') && !get_option('blog_public') ): ?> 
    113     <a id="privacy-on-link" href="options-privacy.php" title="<?php esc_attr_e('Your site is asking search engines not to index its content') ?>"><?php _e('Search Engines Blocked') ?></a> 
     112<?php if ( current_user_can('manage_options') && '1' != get_option('blog_public') ): ?> 
     113    <a id="privacy-on-link" href="options-privacy.php" title="<?php echo esc_attr( apply_filters('privacy_on_link_title', __('Your site is asking search engines not to index its content') ) ); ?>"><?php echo apply_filters('privacy_on_link_text', __('Search Engines Blocked') ); ?></a> 
    114114<?php endif; ?> 
    115115</h1> 
Note: See TracChangeset for help on using the changeset viewer.