Changeset 38467 for trunk/src/wp-includes/media-template.php
- Timestamp:
- 08/31/2016 06:41:07 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r38424 r38467 134 134 * 135 135 * @since 3.5.0 136 *137 * @global bool $is_IE138 136 */ 139 137 function wp_print_media_templates() { 140 global $is_IE;141 138 $class = 'media-modal wp-core-ui'; 142 if ( $is_IE && strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 7') !== false )139 if ( wp_is_IE() && strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 7') !== false ) { 143 140 $class .= ' ie7'; 141 } 144 142 ?> 145 143 <!--[if lte IE 8]>
Note: See TracChangeset
for help on using the changeset viewer.