X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/af50974463450c98503e763a7836a50e260461a9..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/options-general.php diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 629c4d2f..426ebaae 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -13,74 +13,13 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); require_once( ABSPATH . 'wp-admin/includes/translation-install.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 = __('General Settings'); $parent_file = 'options-general.php'; -/* translators: date and time format for exact current time, mainly about timezones, see http://php.net/date */ -$timezone_format = _x('Y-m-d G:i:s', 'timezone date format'); +/* translators: date and time format for exact current time, mainly about timezones, see https://secure.php.net/date */ +$timezone_format = _x('Y-m-d H:i:s', 'timezone date format'); -/** - * Display JavaScript on the page. - * - * @since 3.5.0 - */ -function options_general_add_js() { -?> - -' . __('The fields on this screen determine some of the basics of your site setup.') . '
' . @@ -103,7 +42,7 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . - '' . __('Documentation on General Settings') . '
' . + '' . __('Documentation on General Settings') . '
' . '' . __('Support Forums') . '
' ); @@ -111,7 +50,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); ?>