diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php
index 37c7603302..678418c47a 100644
--- a/wp-admin/includes/dashboard.php
+++ b/wp-admin/includes/dashboard.php
@@ -392,12 +392,12 @@ function wp_dashboard_right_now() {
}
echo '
';
- // Check if search engines are blocked.
+ // Check if search engines are asked not to index this site.
if ( !is_network_admin() && !is_user_admin() && current_user_can('manage_options') && '1' != get_option('blog_public') ) {
$title = apply_filters('privacy_on_link_title', __('Your site is asking search engines not to index its content') );
- $content = apply_filters('privacy_on_link_text', __('Search Engines Blocked') );
+ $content = apply_filters('privacy_on_link_text', __('Search Engines Discouraged') );
- echo "
- - Choose your privacy setting' ), esc_url( admin_url('options-privacy.php') ) ); ?>
- Select your tagline and time zone' ), esc_url( admin_url('options-general.php') ) ); ?>
- Turn comments on or off' ), esc_url( admin_url('options-discussion.php') ) ); ?>
- Fill in your profile' ), esc_url( get_edit_profile_url( get_current_user_id() ) ) ); ?>
diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php
index 79c44d436a..6d2d44754a 100644
--- a/wp-admin/includes/plugin.php
+++ b/wp-admin/includes/plugin.php
@@ -1624,10 +1624,15 @@ function register_setting( $option_group, $option_name, $sanitize_callback = ''
global $new_whitelist_options;
if ( 'misc' == $option_group ) {
- _deprecated_argument( __FUNCTION__, '3.0', __( 'The miscellaneous options group has been removed. Use another settings group.' ) );
+ _deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'misc' ) );
$option_group = 'general';
}
+ if ( 'privacy' == $option_group ) {
+ _deprecated_argument( __FUNCTION__, '3.5', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'privacy' ) );
+ $option_group = 'reading';
+ }
+
$new_whitelist_options[ $option_group ][] = $option_name;
if ( $sanitize_callback != '' )
add_filter( "sanitize_option_{$option_name}", $sanitize_callback );
@@ -1647,10 +1652,15 @@ function unregister_setting( $option_group, $option_name, $sanitize_callback = '
global $new_whitelist_options;
if ( 'misc' == $option_group ) {
- _deprecated_argument( __FUNCTION__, '3.0', __( 'The miscellaneous options group has been removed. Use another settings group.' ) );
+ _deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'misc' ) );
$option_group = 'general';
}
+ if ( 'privacy' == $option_group ) {
+ _deprecated_argument( __FUNCTION__, '3.5', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'privacy' ) );
+ $option_group = 'reading';
+ }
+
$pos = array_search( $option_name, (array) $new_whitelist_options );
if ( $pos !== false )
unset( $new_whitelist_options[ $option_group ][ $pos ] );
diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index 139b219920..46d7568bc5 100644
--- a/wp-admin/includes/template.php
+++ b/wp-admin/includes/template.php
@@ -1040,10 +1040,15 @@ function add_settings_section($id, $title, $callback, $page) {
global $wp_settings_sections;
if ( 'misc' == $page ) {
- _deprecated_argument( __FUNCTION__, '3.0', __( 'The miscellaneous options group has been removed. Use another settings group.' ) );
+ _deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'misc' ) );
$page = 'general';
}
+ if ( 'privacy' == $page ) {
+ _deprecated_argument( __FUNCTION__, '3.5', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'privacy' ) );
+ $page = 'reading';
+ }
+
if ( !isset($wp_settings_sections) )
$wp_settings_sections = array();
if ( !isset($wp_settings_sections[$page]) )
@@ -1084,6 +1089,11 @@ function add_settings_field($id, $title, $callback, $page, $section = 'default',
$page = 'general';
}
+ if ( 'privacy' == $page ) {
+ _deprecated_argument( __FUNCTION__, '3.5', __( 'The privacy options group has been removed. Use another settings group.' ) );
+ $page = 'reading';
+ }
+
if ( !isset($wp_settings_fields) )
$wp_settings_fields = array();
if ( !isset($wp_settings_fields[$page]) )
diff --git a/wp-admin/menu.php b/wp-admin/menu.php
index bf914e5322..d209ddbcfa 100644
--- a/wp-admin/menu.php
+++ b/wp-admin/menu.php
@@ -206,7 +206,6 @@ $menu[80] = array( __('Settings'), 'manage_options', 'options-general.php', '',
$submenu['options-general.php'][20] = array(__('Reading'), 'manage_options', 'options-reading.php');
$submenu['options-general.php'][25] = array(__('Discussion'), 'manage_options', 'options-discussion.php');
$submenu['options-general.php'][30] = array(__('Media'), 'manage_options', 'options-media.php');
- $submenu['options-general.php'][35] = array(__('Privacy'), 'manage_options', 'options-privacy.php');
$submenu['options-general.php'][40] = array(__('Permalinks'), 'manage_options', 'options-permalink.php');
$_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group
diff --git a/wp-admin/options-privacy.php b/wp-admin/options-privacy.php
index d0d4336e28..e69de29bb2 100644
--- a/wp-admin/options-privacy.php
+++ b/wp-admin/options-privacy.php
@@ -1,63 +0,0 @@
-add_help_tab( array(
- 'id' => 'overview',
- 'title' => __('Overview'),
- 'content' => '' . __('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 radio button next to “Ask search engines not to index this site” and click the Save Changes button at the bottom of the screen. Note that your privacy is not complete; your site is still visible on the web.') . '
' .
- '' . __('When this setting is in effect a reminder is shown in the Right Now box of the Dashboard that says, “Search Engines Blocked,” to remind you that your site is not being crawled.') . '
',
-) );
-
-get_current_screen()->set_help_sidebar(
- '' . __('For more information:') . '
' .
- '' . __('Documentation on Privacy Settings') . '
' .
- '' . __('Support Forums') . '
'
-);
-
-include('./admin-header.php');
-?>
-
-
-
-
diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php
index fa26c45ec4..359ae45179 100644
--- a/wp-admin/options-reading.php
+++ b/wp-admin/options-reading.php
@@ -50,6 +50,13 @@ get_current_screen()->add_help_tab( array(
'' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '
',
) );
+get_current_screen()->add_help_tab( array(
+ 'id' => 'site-visibility',
+ 'title' => has_action( 'blog_privacy_selector' ) ? __( 'Site Visibility' ) : __( 'Search Engine Visibility' ),
+ 'content' => '' . __( '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 radio button next to “Ask search engines not to index this site” and click the Save Changes button at the bottom of the screen. Note that your privacy is not complete; your site is still visible on the web.' ) . '
' .
+ '' . __( 'When this setting is in effect a reminder is shown in the Right Now box of the Dashboard that says, “Search Engines Discouraged,” to remind you that your site is not being crawled.' ) . '
',
+) );
+
get_current_screen()->set_help_sidebar(
'' . __('For more information:') . '
' .
'' . __('Documentation on Reading Settings') . '
' .
@@ -63,7 +70,7 @@ include( './admin-header.php' );
-