Changeset 46164 for trunk/src/wp-includes/admin-bar.php
- Timestamp:
- 09/18/2019 02:49:30 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/admin-bar.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/admin-bar.php
r45932 r46164 1118 1118 */ 1119 1119 function wp_admin_bar_header() { 1120 $type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"'; 1120 1121 ?> 1121 <style type="text/css"media="print">#wpadminbar { display:none; }</style>1122 <style<?php echo $type_attr; ?> media="print">#wpadminbar { display:none; }</style> 1122 1123 <?php 1123 1124 } … … 1129 1130 */ 1130 1131 function _admin_bar_bump_cb() { 1131 1132 $type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"'; 1132 1133 ?> 1133 <style type="text/css"media="screen">1134 <style<?php echo $type_attr; ?> media="screen"> 1134 1135 html { margin-top: 32px !important; } 1135 1136 * html body { margin-top: 32px !important; }
Note: See TracChangeset
for help on using the changeset viewer.