Changeset 35761
- Timestamp:
- 12/03/2015 08:16:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wp-embed.js
r35708 r35761 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 + '"]' ), … … 33 37 for ( i = 0; i < iframes.length; i++ ) { 34 38 source = iframes[ i ]; 39 40 if ( e.source !== source.contentWindow ) { 41 continue; 42 } 35 43 36 44 source.style.display = '';
Note: See TracChangeset
for help on using the changeset viewer.