diff --git a/wp-content/themes/twentyeleven/inc/theme-customizer.js b/wp-content/themes/twentyeleven/inc/theme-customizer.js index ca63fdad42..ea19f49932 100644 --- a/wp-content/themes/twentyeleven/inc/theme-customizer.js +++ b/wp-content/themes/twentyeleven/inc/theme-customizer.js @@ -1,12 +1,12 @@ ( function( $ ){ wp.customize( 'blogname', function( value ) { value.bind( function( to ) { - $( '#site-title a' ).html( to ); + $( '#site-title a' ).text( to ); } ); } ); wp.customize( 'blogdescription', function( value ) { value.bind( function( to ) { - $( '#site-description' ).html( to ); + $( '#site-description' ).text( to ); } ); } ); } )( jQuery ); \ No newline at end of file diff --git a/wp-content/themes/twentytwelve/js/theme-customizer.js b/wp-content/themes/twentytwelve/js/theme-customizer.js index c1018b05cc..607ea883ee 100644 --- a/wp-content/themes/twentytwelve/js/theme-customizer.js +++ b/wp-content/themes/twentytwelve/js/theme-customizer.js @@ -9,12 +9,12 @@ // Site title and description. wp.customize( 'blogname', function( value ) { value.bind( function( to ) { - $( '.site-title a' ).html( to ); + $( '.site-title a' ).text( to ); } ); } ); wp.customize( 'blogdescription', function( value ) { value.bind( function( to ) { - $( '.site-description' ).html( to ); + $( '.site-description' ).text( to ); } ); } );