Changeset 32478
- Timestamp:
- 05/09/2015 11:43:07 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wp-emoji.js
r32347 r32478 71 71 } 72 72 73 if ( ! node || ( node.className && node.className.indexOf( 'wp-exclude-emoji' ) !== -1 ) ) { 73 if ( ! node || node.nodeType !== 1 || ( 'ownerSVGElement' in node ) || 74 ( node.className && typeof node.className === 'string' && node.className.indexOf( 'wp-exclude-emoji' ) !== -1 ) ) { 75 74 76 continue; 75 77 } 76 78 77 if ( node.nodeType === 1 &&test( node.textContent ) ) {79 if ( test( node.textContent ) ) { 78 80 parse( node ); 79 81 }
Note: See TracChangeset
for help on using the changeset viewer.