diff -r 490d5cc509ed -r cf61fcea0001 wp/wp-admin/options-general.php --- a/wp/wp-admin/options-general.php Tue Jun 09 11:14:17 2015 +0000 +++ b/wp/wp-admin/options-general.php Mon Oct 14 17:39:30 2019 +0200 @@ -9,76 +9,17 @@ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); -/** WordPress Translation Install API */ +/** WordPress Translation Installation API */ 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 */ +/* 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.') . '
' . @@ -101,44 +42,83 @@ get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . - '' . __('Documentation on General Settings') . '
' . - '' . __('Support Forums') . '
' + '' . __('Documentation on General Settings') . '
' . + '' . __('Support Forums') . '
' ); include( ABSPATH . 'wp-admin/admin-header.php' ); ?>