Ticket #34204: 34204.2.diff
File 34204.2.diff, 20.0 KB (added by , 9 years ago) |
---|
-
Gruntfile.js
diff --git a/Gruntfile.js b/Gruntfile.js index b8dd5f8..29173b4 100644
a b module.exports = function(grunt) { 233 233 234 234 // Exceptions 235 235 '!wp-includes/css/dashicons.css', 236 '!wp-includes/css/wp-oembed-embed.css' 236 '!wp-includes/css/wp-oembed-embed.css', 237 '!wp-includes/css/wp-oembed-embed-ie.css' 237 238 ] 238 239 }, 239 240 colors: { -
new file src/wp-includes/css/wp-oembed-embed-ie.css
diff --git a/src/wp-includes/css/wp-oembed-embed-ie.css b/src/wp-includes/css/wp-oembed-embed-ie.css new file mode 100644 index 0000000..dca8c07
- + 1 /* Dashicons */ 2 .dashicons { 3 *display: inline; 4 *zoom: 1; 5 } 6 7 .dashicons-no { 8 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAQAAAAngNWGAAAAcElEQVR4AdXRVxmEMBAGwJMQCUhAIhKQECmRsFJwMFfp7HfP/E8pk0173CuKpt/0R+WaBaaZqogLagBMuh+DdoKbyRCwqZ/SnM0R5oQuZ2UHS8Z6k23qPxZCTrV5UlHMi8bsfHVXP7K/GXZHaTO7S54CWLdHlN2YIwAAAABJRU5ErkJggg==); 9 *background-image: url(../images/embed/close.png); 10 } 11 12 .dashicons-admin-comments { 13 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAATUlEQVR4AWMYWqCpvUcAiA8A8X9iMFStAD4DG0AKScQNVDZw1MBRAwvIMLCA5jmFlCD4AMQGlOTtBgoNwzQQ3TCKDaTcMMxYN2AYVgAAYPKsEBxN0PIAAAAASUVORK5CYII=); 14 *background-image: url(../images/embed/comment.png); 15 *background-position: 0 0; 16 } 17 18 .wp-embed-comments a:hover .dashicons-admin-comments { 19 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAATElEQVR4AWMYYqB4lQAQHwDi/8RgqFoBfAY2gBSSiBuobOCogaMGFpBhYAEdcwrhIPgAxAaU5O0GCg3DNBDdMIoNpNwwzFg3YBhWAABG71qAFYcFqgAAAABJRU5ErkJggg==); 20 *background-image: url(../images/embed/comment.png); 21 *background-position: 0 -40px; 22 } 23 24 .dashicons-share { 25 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAc0lEQVR4AWMYfqCpvccAiBcA8X8gfgDEBZQaeAFkGBoOoMR1/7HgDeQa2ECZgQiDHID4AMwAor0MCmBoQP+HBnwAskFQdgBRkQJViGk7wiAHUr21AYdhDTA1dDOQHl6mPFLokmwoT9j0z3qUFw70L77oDwAiuzCIub1XpQAAAABJRU5ErkJggg==); 26 *background-image: url(../images/embed/share.png); 27 *background-position: 0 0; 28 } 29 30 .wp-embed-share-dialog-open:hover .dashicons-share { 31 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAc0lEQVR4AWMYhqB4lQEQLwDi/0D8AIgLKDXwAsgwNBxAiev+Y8EbyDWwgTIDEQY5APEBmAFEexkUwNCA/g8N+ABkg6DsAKIiBaoQ03aEQQ6kemsDDsMaYEroZiA9vEx5pNAl2VCesOmf9SgvHOhffNEfAAAMqPR5IEZH5wAAAABJRU5ErkJggg==); 32 *background-image: url(../images/embed/share.png); 33 *background-position: 0 -40px; 34 } 35 36 .wp-embed-share-dialog { 37 *background-color: #222; 38 } 39 No newline at end of file -
src/wp-includes/css/wp-oembed-embed.css
diff --git a/src/wp-includes/css/wp-oembed-embed.css b/src/wp-includes/css/wp-oembed-embed.css index 9ea586b..20c9a6e 100644
a b body { 19 19 /* Dashicons */ 20 20 .dashicons { 21 21 display: inline-block; 22 *display: inline; 23 *zoom: 1; 22 24 width: 20px; 23 25 height: 20px; 24 26 background-color: transparent; … … p.wp-embed-heading { 139 141 .wp-embed-site-title a { 140 142 position: relative; 141 143 display: inline-block; 144 *display: inline; 145 *zoom: 1; 142 146 padding-left: 35px; 143 147 } 144 148 145 149 .wp-embed-site-title, 146 150 .wp-embed-meta { 147 151 display: table-cell; 152 *display: inline; 153 *zoom: 1; 148 154 } 149 155 150 156 .wp-embed-meta { … … p.wp-embed-heading { 156 162 .wp-embed-comments, 157 163 .wp-embed-share { 158 164 display: inline; 165 *zoom: 1; 159 166 } 160 167 161 168 .wp-embed-meta a:hover { … … p.wp-embed-heading { 166 173 .wp-embed-comments a { 167 174 line-height: 25px; 168 175 display: inline-block; 176 *display: inline; 177 *zoom: 1; 169 178 } 170 179 171 180 .wp-embed-comments + .wp-embed-share { … … p.wp-embed-heading { 178 187 left: 0; 179 188 right: 0; 180 189 bottom: 0; 190 background-color: #222; 181 191 background-color: rgba(10, 10, 10, 0.9); 182 192 color: #fff; 183 193 opacity: 1; … … p.wp-embed-heading { 254 264 } 255 265 256 266 .wp-embed-share-tab-button { 257 display: inline; 267 display: inline-block; 268 *display: inline; 269 *zoom: 1; 258 270 } 259 271 260 272 .wp-embed-share-tab-button button { -
src/wp-includes/default-filters.php
diff --git a/src/wp-includes/default-filters.php b/src/wp-includes/default-filters.php index 8bdebe5..44c5a1f 100644
a b add_action( 'parse_query', 'wp_oembed_parse_query' ); 444 444 add_action( 'wp_head', 'wp_oembed_add_discovery_links' ); 445 445 add_action( 'wp_head', 'wp_oembed_add_host_js' ); 446 446 447 add_action( 'oembed_head', 'wp_oembed_enqueue_scripts', 1 ); 447 448 add_action( 'oembed_head', 'print_emoji_detection_script' ); 448 449 add_action( 'oembed_head', 'print_emoji_styles' ); 449 450 add_action( 'oembed_head', 'print_oembed_embed_styles' ); -
src/wp-includes/embed-functions.php
diff --git a/src/wp-includes/embed-functions.php b/src/wp-includes/embed-functions.php index 094d8cd..066db33 100644
a b function wp_oembed_excerpt_attachment( $content ) { 802 802 } 803 803 804 804 /** 805 * Enqueue embed iframe default CSS and JS & fire do_action('wp_oembed_enqueue_scripts') 806 * 807 * Enqueue PNG fallback CSS for embed iframe for legacy versions of IE. 808 * 809 * Allows plugins to queue scripts for the embed iframe end using wp_enqueue_script(). 810 * Runs first in oembed_head(). 811 * 812 * @since 4.4.0 813 */ 814 function wp_oembed_enqueue_scripts() { 815 wp_enqueue_style( 'open-sans' ); 816 wp_enqueue_style( 'wp-oembed-embed-ie' ); 817 /** 818 * Fires when scripts and styles are enqueued for the embed iframe. 819 * 820 * @since 4.4.0 821 */ 822 do_action( 'wp_oembed_enqueue_scripts' ); 823 } 824 825 /** 805 826 * Prints the CSS in the embed iframe header. 806 827 * 807 828 * @since 4.4.0 -
src/wp-includes/embed-template.php
diff --git a/src/wp-includes/embed-template.php b/src/wp-includes/embed-template.php index 7a70b1d..cb6729f 100644
a b if ( ! headers_sent() ) { 14 14 header( 'X-WP-oembed: true' ); 15 15 } 16 16 17 wp_enqueue_style( 'open-sans' );18 19 17 ?> 20 18 <!DOCTYPE html> 21 19 <html <?php language_attributes(); ?>> … … if ( have_posts() ) : 170 168 </div> 171 169 <?php endif; ?> 172 170 <div class="wp-embed-share"> 173 <button type="button" class="wp-embed-share-dialog-open" 171 <button type="button" id="wp-embed-share-dialog-open" 172 class="wp-embed-share-dialog-open" 174 173 aria-label="<?php esc_attr_e( 'Open sharing dialog' ); ?>"> 175 174 <span class="dashicons dashicons-share"></span> 176 175 </button> 177 176 </div> 178 177 </div> 179 178 </div> 180 <div class="wp-embed-share-dialog hidden">179 <div id="wp-embed-share-dialog" class="wp-embed-share-dialog hidden"> 181 180 <div class="wp-embed-share-dialog-content"> 182 181 <div class="wp-embed-share-dialog-text"> 183 <ul class="wp-embed-share-tabs" role="tablist">182 <ul id="wp-embed-share-tabs" class="wp-embed-share-tabs" role="tablist"> 184 183 <li id="wp-embed-share-tab-button-wordpress" class="wp-embed-share-tab-button" role="presentation"> 185 184 <button role="tab" aria-controls="wp-embed-share-tab-wordpress" aria-selected="true" tabindex="0"><?php esc_html_e( 'WordPress Embed' ); ?></button> 186 185 </li> … … if ( have_posts() ) : 204 203 </div> 205 204 </div> 206 205 207 <button type="button" class="wp-embed-share-dialog-close" aria-label="<?php esc_attr_e( 'Close sharing dialog' ); ?>"> 206 <button type="button" id="wp-embed-share-dialog-close" 207 class="wp-embed-share-dialog-close" 208 aria-label="<?php esc_attr_e( 'Close sharing dialog' ); ?>"> 208 209 <span class="dashicons dashicons-no"></span> 209 210 </button> 210 211 </div> -
src/wp-includes/js/wp-oembed-embed.js
diff --git a/src/wp-includes/images/embed/close.png b/src/wp-includes/images/embed/close.png new file mode 100644 index 0000000..1f7ca13 Binary files /dev/null and b/src/wp-includes/images/embed/close.png differ diff --git a/src/wp-includes/images/embed/comment-hover.png b/src/wp-includes/images/embed/comment-hover.png new file mode 100644 index 0000000..b00ccb3 Binary files /dev/null and b/src/wp-includes/images/embed/comment-hover.png differ diff --git a/src/wp-includes/images/embed/comment.png b/src/wp-includes/images/embed/comment.png new file mode 100644 index 0000000..06c153f Binary files /dev/null and b/src/wp-includes/images/embed/comment.png differ diff --git a/src/wp-includes/images/embed/share-hover.png b/src/wp-includes/images/embed/share-hover.png new file mode 100644 index 0000000..d176c77 Binary files /dev/null and b/src/wp-includes/images/embed/share-hover.png differ diff --git a/src/wp-includes/images/embed/share.png b/src/wp-includes/images/embed/share.png new file mode 100644 index 0000000..22554f4 Binary files /dev/null and b/src/wp-includes/images/embed/share.png differ diff --git a/src/wp-includes/js/wp-oembed-embed.js b/src/wp-includes/js/wp-oembed-embed.js index 847ebcf..407ba25 100644
a b 1 1 (function ( window, document ) { 2 'use strict';3 2 4 3 var secret = window.location.hash.replace( /.*secret=([\d\w]{10}).*/, '$1' ), 4 querySelectorExists = ( 'querySelector' in document ), 5 loaded = false, 5 6 resizing; 6 7 7 8 function sendEmbedMessage( message, value ) { … … 13 14 } 14 15 15 16 function onLoad() { 16 var share_dialog = document.querySelector( '.wp-embed-share-dialog' ), 17 share_dialog_open = document.querySelector( '.wp-embed-share-dialog-open' ), 18 share_dialog_close = document.querySelector( '.wp-embed-share-dialog-close' ), 19 share_input = document.querySelectorAll( '.wp-embed-share-input' ), 20 share_dialog_tabs = document.querySelectorAll( '.wp-embed-share-tab-button button' ), 17 if ( loaded ) { 18 return; 19 } 20 loaded = true; 21 22 var share_dialog = getElementById( 'wp-embed-share-dialog' ), 23 share_dialog_open = getElementById( 'wp-embed-share-dialog-open' ), 24 share_dialog_close = getElementById( 'wp-embed-share-dialog-close' ), 21 25 links = document.getElementsByTagName( 'a' ), 26 share_input, 27 share_dialog_tabs, 28 current_dialog_tab, 22 29 i; 23 30 24 if ( share_input ) { 25 for ( i = 0; i < share_input.length; i++ ) { 26 share_input[ i ].addEventListener( 'click', function ( e ) { 27 e.target.select(); 28 } ); 31 share_dialog_tabs = getElementById( 'wp-embed-share-tabs' ); 32 if ( share_dialog_tabs ) { 33 share_dialog_tabs = share_dialog_tabs.getElementsByTagName( 'button' ); 34 } 35 36 if ( querySelectorExists ) { 37 share_input = document.querySelectorAll( '.wp-embed-share-input' ); 38 if ( share_input ) { 39 for ( i = 0; i < share_input.length; i++ ) { 40 if ( !( 'select' in share_input[ i ] ) ) { 41 // select unavailable, no need for events 42 break; 43 } 44 addEvent( share_input[ i ], 'click', clickShareInput ); 45 } 29 46 } 30 47 } 31 48 49 function clickShareInput() { 50 this.select(); 51 } 52 32 53 function openSharingDialog() { 33 54 share_dialog.className = share_dialog.className.replace( 'hidden', '' ); 34 share_input[ 0 ].select(); 55 if ( share_input && ( 'select' in share_input[ 0 ] ) ) { 56 share_input[ 0 ].select(); 57 } 35 58 } 36 59 37 60 function closeSharingDialog() { 38 61 share_dialog.className += ' hidden'; 39 document.querySelector( '.wp-embed-share-dialog-open' ).focus(); 62 if ( 'focus' in share_dialog_open ) { 63 share_dialog_open.focus(); 64 } 40 65 } 41 66 42 67 if ( share_dialog_open ) { 43 share_dialog_open.addEventListener('click', function ( e ) {68 addEvent( share_dialog_open, 'click', function ( e ) { 44 69 openSharingDialog(); 45 70 e.preventDefault(); 46 71 } ); 47 72 } 48 73 49 74 if ( share_dialog_close ) { 50 share_dialog_close.addEventListener('click', function ( e ) {75 addEvent( share_dialog_close, 'click', function ( e ) { 51 76 closeSharingDialog(); 52 77 e.preventDefault(); 53 78 } ); 54 79 } 55 80 56 function shareClickHandler( e ) { 57 var currentTab = document.querySelector( '.wp-embed-share-tab-button [aria-selected="true"]' ); 58 currentTab.setAttribute( 'aria-selected', 'false' ); 59 document.querySelector( '#' + currentTab.getAttribute( 'aria-controls' ) ).setAttribute( 'aria-hidden', 'true' ); 81 function shareClickHandler() { 82 if ( current_dialog_tab ) { 83 current_dialog_tab.setAttribute( 'aria-selected', 'false' ); 84 getElementById( current_dialog_tab.getAttribute( 'aria-controls' ) ).setAttribute( 'aria-hidden', 'true' ); 85 } 60 86 61 e.target.setAttribute( 'aria-selected', 'true' ); 62 document.querySelector( '#' + e.target.getAttribute( 'aria-controls' ) ).setAttribute( 'aria-hidden', 'false' ); 87 this.setAttribute( 'aria-selected', 'true' ); 88 getElementById( this.getAttribute( 'aria-controls' ) ).setAttribute( 'aria-hidden', 'false' ); 89 current_dialog_tab = this; 63 90 } 64 91 65 92 function shareKeyHandler( e ) { 66 var target = e.target,93 var target = this, 67 94 previousSibling = target.parentElement.previousElementSibling, 68 95 nextSibling = target.parentElement.nextElementSibling, 69 96 newTab, newTabChild; … … 85 112 86 113 target.setAttribute( 'tabindex', '-1' ); 87 114 target.setAttribute( 'aria-selected', false ); 88 document.querySelector( '#' +target.getAttribute( 'aria-controls' ) ).setAttribute( 'aria-hidden', 'true' );115 getElementById( target.getAttribute( 'aria-controls' ) ).setAttribute( 'aria-hidden', 'true' ); 89 116 90 117 newTabChild.setAttribute( 'tabindex', '0' ); 91 118 newTabChild.setAttribute( 'aria-selected', 'true' ); 92 119 newTabChild.focus(); 93 document.querySelector( '#' +newTabChild.getAttribute( 'aria-controls' ) ).setAttribute( 'aria-hidden', 'false' );120 getElementById( newTabChild.getAttribute( 'aria-controls' ) ).setAttribute( 'aria-hidden', 'false' ); 94 121 } 95 122 } 96 123 97 124 if ( share_dialog_tabs ) { 98 125 for ( i = 0; i < share_dialog_tabs.length; i++ ) { 99 share_dialog_tabs[ i ].addEventListener( 'click', shareClickHandler ); 126 addEvent( share_dialog_tabs[ i ], 'click', shareClickHandler ); 127 128 addEvent( share_dialog_tabs[ i ], 'keydown', shareKeyHandler ); 100 129 101 share_dialog_tabs[ i ].addEventListener( 'keydown', shareKeyHandler ); 130 if ( 'true' === share_dialog_tabs[ i ].getAttribute( 'aria-selected' ) ) { 131 current_dialog_tab = share_dialog_tabs[ i ]; 132 } 102 133 } 103 134 } 104 135 105 document.addEventListener('keydown', function ( e ) {136 addEvent( document, 'keydown', function ( e ) { 106 137 if ( e.keyCode === 27 && -1 === share_dialog.className.indexOf( 'hidden' ) ) { 107 138 closeSharingDialog(); 108 139 } 109 } , false);140 }); 110 141 111 142 if ( window.self === window.top ) { 112 143 return; … … 121 152 * Detect clicks to external (_top) links. 122 153 */ 123 154 function linkClickHandler( e ) { 124 var target = e.target,155 var target = this, 125 156 href; 126 157 if ( target.hasAttribute( 'href' ) ) { 127 158 href = target.getAttribute( 'href' ); … … 137 168 } 138 169 139 170 for ( i = 0; i < links.length; i++ ) { 140 links[ i ].addEventListener('click', linkClickHandler );171 addEvent( links[ i ], 'click', linkClickHandler ); 141 172 } 142 173 } 143 174 144 document.addEventListener( 'DOMContentLoaded', onLoad, false );145 146 175 /** 147 176 * Iframe resize handler. 148 177 */ … … 158 187 }, 100 ); 159 188 } 160 189 161 window.addEventListener( 'resize', onResize, false ); 190 /** 191 * Internal function simplifying document.getElementById 192 */ 193 function getElementById( id ) { 194 return document.getElementById( id ); 195 } 196 197 /** 198 * Cross browser event handling 199 * 200 * Source: http://dean.edwards.name/weblog/2005/10/add-event/ 201 */ 202 function addEvent(element, type, handler) { 203 if (element.addEventListener) { 204 element.addEventListener(type, handler, false); 205 } else { 206 // assign each event handler a unique ID 207 if (!handler.$$guid) handler.$$guid = addEvent.guid++; 208 // create a hash table of event types for the element 209 if (!element.events) element.events = {}; 210 // create a hash table of event handlers for each element/event pair 211 var handlers = element.events[type]; 212 if (!handlers) { 213 handlers = element.events[type] = {}; 214 // store the existing event handler (if there is one) 215 if (element['on' + type]) { 216 handlers[0] = element['on' + type]; 217 } 218 } 219 // store the event handler in the hash table 220 handlers[handler.$$guid] = handler; 221 // assign a global event handler to do all the work 222 element['on' + type] = handleEvent; 223 } 224 } 225 // a counter used to create unique IDs 226 addEvent.guid = 1; 227 228 function handleEvent(event) { 229 var returnValue = true; 230 // grab the event object (IE uses a global event object) 231 event = event || fixEvent(((this.ownerDocument || this.document || this).parentWindow || window).event); 232 // get a reference to the hash table of event handlers 233 var handlers = this.events[event.type]; 234 // execute each event handler 235 for (var i in handlers) { 236 this.$$handleEvent = handlers[i]; 237 if (this.$$handleEvent(event) === false) { 238 returnValue = false; 239 } 240 } 241 return returnValue; 242 } 243 244 function fixEvent(event) { 245 // add W3C standard event methods 246 event.preventDefault = fixEvent.preventDefault; 247 event.stopPropagation = fixEvent.stopPropagation; 248 return event; 249 } 250 251 fixEvent.preventDefault = function() { 252 this.returnValue = false; 253 }; 254 255 fixEvent.stopPropagation = function() { 256 this.cancelBubble = true; 257 }; 258 259 addEvent( document, 'DOMContentLoaded', onLoad, false ); 260 addEvent( window, 'load', onLoad, false ); 261 addEvent( window, 'resize', onResize, false ); 162 262 })( window, document ); -
src/wp-includes/js/wp-oembed.js
diff --git a/src/wp-includes/js/wp-oembed.js b/src/wp-includes/js/wp-oembed.js index dd03bc0..bef8db9 100644
a b 44 44 } 45 45 }; 46 46 47 window.addEventListener( 'message', window.wp.receiveEmbedMessage, false );48 49 47 function onLoad() { 48 window.removeEventListener( 'load', onLoad, false ); 49 50 50 var isIE10 = -1 !== navigator.appVersion.indexOf( 'MSIE 10' ), 51 51 isIE11 = !!navigator.userAgent.match( /Trident.*rv\:11\./ ); 52 52 … … 63 63 } 64 64 } 65 65 66 document.addEventListener( 'DOMContentLoaded', onLoad, false ); 66 /** 67 * Ensure required features exist. 68 */ 69 function featurePass() { 70 if ( ( 'addEventListener' in window ) && 71 ( 'querySelector' in document ) ) { 72 return true; 73 } 74 return false; 75 } 76 77 if ( featurePass() ) { 78 document.addEventListener( 'DOMContentLoaded', onLoad, false ); 79 window.addEventListener( 'load', onLoad, false ); 80 window.addEventListener( 'message', window.wp.receiveEmbedMessage, false ); 81 } 67 82 })( window, document ); -
src/wp-includes/script-loader.php
diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index e177d41..362271f 100644
a b function wp_default_styles( &$styles ) { 728 728 $styles->add( 'open-sans', $open_sans_font_url ); 729 729 730 730 // Includes CSS 731 $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array( 'open-sans', 'dashicons' ) ); 732 $styles->add( 'wp-auth-check', "/wp-includes/css/wp-auth-check$suffix.css", array( 'dashicons' ) ); 733 $styles->add( 'editor-buttons', "/wp-includes/css/editor$suffix.css", array( 'dashicons' ) ); 734 $styles->add( 'media-views', "/wp-includes/css/media-views$suffix.css", array( 'buttons', 'dashicons', 'wp-mediaelement' ) ); 735 $styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array( 'dashicons' ) ); 736 $styles->add( 'customize-preview', "/wp-includes/css/customize-preview$suffix.css" ); 731 $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array( 'open-sans', 'dashicons' ) ); 732 $styles->add( 'wp-auth-check', "/wp-includes/css/wp-auth-check$suffix.css", array( 'dashicons' ) ); 733 $styles->add( 'editor-buttons', "/wp-includes/css/editor$suffix.css", array( 'dashicons' ) ); 734 $styles->add( 'media-views', "/wp-includes/css/media-views$suffix.css", array( 'buttons', 'dashicons', 'wp-mediaelement' ) ); 735 $styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array( 'dashicons' ) ); 736 $styles->add( 'customize-preview', "/wp-includes/css/customize-preview$suffix.css" ); 737 $styles->add( 'wp-oembed-embed-ie', "/wp-includes/css/wp-oembed-embed-ie$suffix.css" ); 738 $styles->add_data( 'wp-oembed-embed-ie', 'conditional', 'lte IE 8' ); 737 739 738 740 // External libraries and friends 739 741 $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.8' );