X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/41578db67d72562346e4dbb2a14889b23d522813..3d39054f012aefe514b3f5509e32f09fc4feda44:/wp-admin/options-reading.php diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 7bcb20be..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'), @@ -68,7 +35,7 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . - '

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

' . + '

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

' . '

' . __('Support Forums') . '

' ); @@ -76,7 +43,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

+