diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 9987f75249..68aeccc99e 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -811,9 +811,14 @@ table.form-table td .updated p { vertical-align: middle; } +.options-general-php input.small-text { + width: 56px; +} + .options-general-php .spinner { float: none; - margin: -3px 3px; + margin: 0 3px; + vertical-align: text-bottom; } .settings-php .language-install-spinner, diff --git a/src/wp-admin/options-general.php b/src/wp-admin/options-general.php index 15bfaaa021..5055e5f04f 100644 --- a/src/wp-admin/options-general.php +++ b/src/wp-admin/options-general.php @@ -45,7 +45,7 @@ function options_general_add_js() { $("input[name='date_format']").click(function(){ if ( "date_format_custom_radio" != $(this).attr("id") ) - $("input[name='date_format_custom']").val( $(this).val() ).siblings('.example').text( $(this).siblings('span').text() ); + $( "input[name='date_format_custom']" ).val( $( this ).val() ).siblings( '.example' ).text( $( this ).parent( 'label' ).text() ); }); $("input[name='date_format_custom']").focus(function(){ $( '#date_format_custom_radio' ).prop( 'checked', true ); @@ -53,7 +53,7 @@ function options_general_add_js() { $("input[name='time_format']").click(function(){ if ( "time_format_custom_radio" != $(this).attr("id") ) - $("input[name='time_format_custom']").val( $(this).val() ).siblings('.example').text( $(this).siblings('span').text() ); + $( "input[name='time_format_custom']" ).val( $( this ).val() ).siblings( '.example' ).text( $( this ).parent( 'label' ).text() ); }); $("input[name='time_format_custom']").focus(function(){ $( '#time_format_custom_radio' ).prop( 'checked', true ); @@ -121,8 +121,8 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
to be different from the directory you installed WordPress.'); ?>
want your site home page to be different from your WordPress installation directory.' ); ?>
The new address will not become active until confirmed.') ?>
+The new address will not become active until confirmed.' ) ?>
@@ -192,7 +192,7 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists" . __('Documentation on date and time formatting.') . "
\n"; ?>