X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..refs/tags/wordpress-4.5.3:/wp-admin/includes/options.php diff --git a/wp-admin/includes/options.php b/wp-admin/includes/options.php index f0fab455..95d9964e 100644 --- a/wp-admin/includes/options.php +++ b/wp-admin/includes/options.php @@ -51,7 +51,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 ).parent( 'label' ).text() ); + $( "input[name='date_format_custom']" ).val( $( this ).val() ).siblings( '.example' ).text( $( this ).parent( 'label' ).children( '.format-i18n' ).text() ); }); $("input[name='date_format_custom']").focus(function(){ $( '#date_format_custom_radio' ).prop( 'checked', true ); @@ -59,7 +59,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 ).parent( 'label' ).text() ); + $( "input[name='time_format_custom']" ).val( $( this ).val() ).siblings( '.example' ).text( $( this ).parent( 'label' ).children( '.format-i18n' ).text() ); }); $("input[name='time_format_custom']").focus(function(){ $( '#time_format_custom_radio' ).prop( 'checked', true ); @@ -131,11 +131,11 @@ function options_reading_add_js() { } /** - * Render the blog charset setting. + * Render the site charset setting. * * @since 3.5.0 */ function options_reading_blog_charset() { echo ''; echo '

' . __( 'The character encoding of your site (UTF-8 is recommended)' ) . '

'; -} \ No newline at end of file +}