diff --git src/wp-admin/js/customize-controls.js src/wp-admin/js/customize-controls.js
index 90b8411..b4e2223 100644
|
|
|
|
| 4173 | 4173 | _.find( parsedCandidateUrls, function( parsedCandidateUrl ) { |
| 4174 | 4174 | return ! _.isUndefined( _.find( previewer.allowedUrls, function( allowedUrl ) { |
| 4175 | 4175 | parsedAllowedUrl.href = allowedUrl; |
| 4176 | | if ( urlParser.protocol === parsedAllowedUrl.protocol && urlParser.host === parsedAllowedUrl.host && 0 === parsedAllowedUrl.pathname.indexOf( urlParser.pathname ) ) { |
| | 4176 | if ( urlParser.protocol === parsedAllowedUrl.protocol && urlParser.host === parsedAllowedUrl.host && 0 === urlParser.pathname.indexOf( parsedAllowedUrl.pathname.replace( /\/$/, '' ) ) ) { |
| 4177 | 4177 | result = parsedCandidateUrl.href; |
| 4178 | 4178 | return true; |
| 4179 | 4179 | } |