X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/7f1521bf193b382565eb753043c161f4cb3fcda7..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/options-reading.php diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 7d28208d..7ad94fba 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -10,44 +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'), @@ -74,7 +43,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

+