Make WordPress Core

Ticket #16416: 16416.4.diff

File 16416.4.diff, 4.1 KB (added by mbijon, 13 years ago)

Renames: Privacy -> Search Indexing. Updated Help tab

  • wp-admin/options-privacy.php

     
    1212if ( ! current_user_can( 'manage_options' ) )
    1313        wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
    1414
    15 $title = __('Privacy Settings');
     15$title = __('Search Indexing Settings');
    1616$parent_file = 'options-general.php';
    1717
    18 add_contextual_help($current_screen,
    19         '<p>' . __('You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the second option here. Note that your privacy is not complete; your site is still visible on the web.') . '</p>' .
    20         '<p>' . __('When this setting is in effect a reminder is shown in the Right Now box of the Dashboard that says, &#8220;Search Engines Blocked,&#8221; to remind you that your site is not being crawled.') . '</p>' .
    21         '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' .
    22         '<p><strong>' . __('For more information:') . '</strong></p>' .
    23         '<p>' . __('<a href="http://codex.wordpress.org/Settings_Privacy_Screen" target="_blank">Documentation on Privacy Settings</a>') . '</p>' .
    24         '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     18$search_indexing  = '<p>' . __('You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the second option here. When the second option is selected most major search services will not include your site in their results. Note that this is not a security setting; your site is still visible on the web.') . '</p>';
     19$search_indexing .= '<p>' . __('When this setting is in effect a reminder is shown in the Right Now box of the Dashboard that says, &#8220;Search Engines Blocked,&#8221; to remind you that your site is not being crawled.') . '</p>';
     20$search_indexing .= '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>';
     21
     22$current_screen->add_help_tab( array(
     23    'id'      => 'search-indexing-info',
     24    'title'   => __('Search Indexing Info'),
     25    'content' => $search_indexing
     26) );
     27
     28$current_screen->add_help_sidebar(
     29    '<p><strong>' . __('For more information:') . '</strong></p>' .
     30    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Privacy_Screen" target="_blank">Documentation on Privacy Settings</a>') . '</p>' .
     31    '<p>' . __('<a href="http://en.wikipedia.org/wiki/Robots.txt" target="_blank">About search indexing &amp; Privacy</a>') . '</p>' .
     32    '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
    2533);
    2634
    2735include('./admin-header.php');
     
    3644
    3745<table class="form-table">
    3846<tr valign="top">
    39 <th scope="row"><?php _e( 'Site Visibility' ); ?> </th>
    40 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Site Visibility' ); ?> </span></legend>
     47<th scope="row"><?php _e( 'Search Engine Visibility' ); ?> </th>
     48<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Search Engine Visibility' ); ?> </span></legend>
    4149<input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
    4250<label for="blog-public"><?php _e( 'Allow search engines to index this site.' );?></label><br/>
    4351<input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
    4452<label for="blog-norobots"><?php _e( 'Ask search engines not to index this site.' ); ?></label>
    45 <p class="description"><?php _e( 'Note: Neither of these options blocks access to your site &mdash; it is up to search engines to honor your request.' ); ?></p>
     53<p class="description"><?php _e( 'Note: Neither of these options blocks access to your site &mdash; it is up to search engines to honor your request. Refer to the &#8216;Help&#8217; tab for more information.' ); ?></p>
    4654<?php do_action('blog_privacy_selector'); ?>
    4755</fieldset></td>
    4856</tr>