Changeset 36263 for trunk/src/wp-admin/includes/options.php
- Timestamp:
- 01/11/2016 10:53:10 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/options.php
r35685 r36263 52 52 $("input[name='date_format']").click(function(){ 53 53 if ( "date_format_custom_radio" != $(this).attr("id") ) 54 $( "input[name='date_format_custom']" ).val( $( this ).val() ).siblings( '.example' ).text( $( this ).parent( 'label' ). text() );54 $( "input[name='date_format_custom']" ).val( $( this ).val() ).siblings( '.example' ).text( $( this ).parent( 'label' ).children( '.format-i18n' ).text() ); 55 55 }); 56 56 $("input[name='date_format_custom']").focus(function(){ … … 60 60 $("input[name='time_format']").click(function(){ 61 61 if ( "time_format_custom_radio" != $(this).attr("id") ) 62 $( "input[name='time_format_custom']" ).val( $( this ).val() ).siblings( '.example' ).text( $( this ).parent( 'label' ). text() );62 $( "input[name='time_format_custom']" ).val( $( this ).val() ).siblings( '.example' ).text( $( this ).parent( 'label' ).children( '.format-i18n' ).text() ); 63 63 }); 64 64 $("input[name='time_format_custom']").focus(function(){
Note: See TracChangeset
for help on using the changeset viewer.