X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa11948979fd6a4ea5705dc613b239699a459db3..3d39054f012aefe514b3f5509e32f09fc4feda44:/wp-admin/options-reading.php?ds=sidebyside diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index e928b2e3..7ad94fba 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -10,46 +10,13 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'manage_options' ) ) - wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); + wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) ); $title = __( 'Reading Settings' ); $parent_file = 'options-general.php'; -/** - * Display JavaScript on the page. - * - * @since 3.5.0 - */ -function options_reading_add_js() { -?> - -'; - echo '

' . __( 'The character encoding of your site (UTF-8 is recommended)' ) . '

'; -} - get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __('Overview'), @@ -63,21 +30,20 @@ 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 checkbox next to “Discourage search engines from indexing 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.' ) . '

', + '

' . __( 'When this setting is in effect, a reminder is shown in the At a Glance 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') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Reading Settings') . '

' . + '

' . __('Support Forums') . '

' ); include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
- -

+

- + - + - + - + - +


@@ -141,7 +107,7 @@ else :