X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/256a3b381f63716209b3527d0a14442ae570c283..9e77185fafaf4e60e2b73821e0e4b9b1a11fb85f:/wp-admin/options-general.php diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index f2946008..70118855 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -77,7 +77,7 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

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

' . '

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

' . - '

' . __('Support Forums') . '

' + '

' . __('Support Forums') . '

' ); include( ABSPATH . 'wp-admin/admin-header.php' ); @@ -86,51 +86,51 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

-
+ - + - + - + - + - + - - + - - + - + - + - @@ -285,7 +284,8 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists echo ' ' . date_i18n( get_option('time_format') ) . "\n"; - ; + + echo "\t

" . __('Documentation on date and time formatting.') . "

\n"; ?> @@ -302,20 +302,46 @@ endfor; + - - +$languages = get_available_languages(); +if ( ! is_multisite() && defined( 'WPLANG' ) && '' !== WPLANG && 'en_US' !== WPLANG && ! in_array( WPLANG, $languages ) ) { + $languages[] = WPLANG; +} +if ( $languages ) { + ?> + + -

class="regular-text code" /> class="regular-text code" />
class="regular-text code" /> + class="regular-text code" />

to be different from the directory you installed WordPress.'); ?>

+

+

The new address will not become active until confirmed.') ?>

' . __('Custom:') . ' ' . date_i18n( get_option('date_format') ) . " \n"; - - echo "\t

" . __('Documentation on date and time formatting.') . "

\n"; ?>
- + 'WPLANG', + 'id' => 'WPLANG', + 'selected' => $locale, + 'languages' => $languages, + ) ); + + // Add note about deprecated WPLANG constant. + if ( defined( 'WPLANG' ) && ( '' !== WPLANG ) && $locale !== WPLANG ) { + if ( is_super_admin() ) { + ?> +

+ WPLANG', 'wp-config.php' ); ?> +

+