Ticket #39175: customize-preview.diff
File customize-preview.diff, 602 bytes (added by , 8 years ago) |
---|
-
wp-includes/js/customize-preview.js
31 31 injectUrlWithState = function( url ) { 32 32 var urlParser, oldQueryParams, newQueryParams; 33 33 urlParser = document.createElement( 'a' ); 34 urlParser.href = url ;34 urlParser.href = url || ''; 35 35 oldQueryParams = api.utils.parseQueryString( location.search.substr( 1 ) ); 36 36 newQueryParams = api.utils.parseQueryString( urlParser.search.substr( 1 ) ); 37 37