Ticket #34831: 34831.2.diff
File 34831.2.diff, 532 bytes (added by , 9 years ago) |
---|
-
wp-includes/js/wp-embed.js
22 22 return; 23 23 } 24 24 25 if ( /[^a-zA-Z0-9]/.test( data.secret ) ) { 26 return; 27 } 28 25 29 var iframes = document.querySelectorAll( 'iframe[data-secret="' + data.secret + '"]' ), 26 30 blockquotes = document.querySelectorAll( 'blockquote[data-secret="' + data.secret + '"]' ), 27 31 i, source, height, sourceURL, targetURL;