Ticket #23435: 23435.diff
| File 23435.diff, 1.4 KB (added by mfields, 3 months ago) |
|---|
-
wp-content/themes/twentytwelve/js/theme-customizer.js
9 9 // Site title and description. 10 10 wp.customize( 'blogname', function( value ) { 11 11 value.bind( function( to ) { 12 $( '.site-title a' ). html( to );12 $( '.site-title a' ).text( to ); 13 13 } ); 14 14 } ); 15 15 wp.customize( 'blogdescription', function( value ) { 16 16 value.bind( function( to ) { 17 $( '.site-description' ). html( to );17 $( '.site-description' ).text( to ); 18 18 } ); 19 19 } ); 20 20 -
wp-content/themes/twentyeleven/inc/theme-customizer.js
1 1 ( function( $ ){ 2 2 wp.customize( 'blogname', function( value ) { 3 3 value.bind( function( to ) { 4 $( '#site-title a' ). html( to );4 $( '#site-title a' ).text( to ); 5 5 } ); 6 6 } ); 7 7 wp.customize( 'blogdescription', function( value ) { 8 8 value.bind( function( to ) { 9 $( '#site-description' ). html( to );9 $( '#site-description' ).text( to ); 10 10 } ); 11 11 } ); 12 12 } )( jQuery ); 13 No newline at end of file
