X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4713a14935b83517997f3c88f808eb41da55033d..e3ff8f35458a959c1879c0a4976701ed8dcfe651:/wp-admin/options-reading.php?ds=sidebyside diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 7bcb20be..69c425f7 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,15 +35,15 @@ get_current_screen()->add_help_tab( array( 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' ); ?>
-

+