Changeset 46164 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 09/18/2019 02:49:30 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r46128 r46164 5436 5436 5437 5437 $printed = true; 5438 5439 $type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"'; 5438 5440 ?> 5439 <style type="text/css">5441 <style<?php echo $type_attr; ?>> 5440 5442 img.wp-smiley, 5441 5443 img.emoji { … … 5518 5520 ); 5519 5521 5520 $version = 'ver=' . get_bloginfo( 'version' ); 5522 $version = 'ver=' . get_bloginfo( 'version' ); 5523 $type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/javascript"'; 5521 5524 5522 5525 if ( SCRIPT_DEBUG ) { … … 5529 5532 5530 5533 ?> 5531 <script type="text/javascript">5534 <script<?php echo $type_attr; ?>> 5532 5535 window._wpemojiSettings = <?php echo wp_json_encode( $settings ); ?>; 5533 5536 <?php readfile( ABSPATH . WPINC . '/js/wp-emoji-loader.js' ); ?> … … 5551 5554 */ 5552 5555 ?> 5553 <script type="text/javascript">5556 <script<?php echo $type_attr; ?>> 5554 5557 window._wpemojiSettings = <?php echo wp_json_encode( $settings ); ?>; 5555 5558 include "js/wp-emoji-loader.min.js"
Note: See TracChangeset
for help on using the changeset viewer.