Changeset 61411 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 12/26/2025 01:14:22 PM (8 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/deprecated.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r60910 r61411 5898 5898 _deprecated_function( __FUNCTION__, '6.4.0', 'wp_enqueue_embed_styles' ); 5899 5899 5900 $type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"'; 5901 $suffix = SCRIPT_DEBUG ? '' : '.min'; 5900 $suffix = SCRIPT_DEBUG ? '' : '.min'; 5902 5901 ?> 5903 <style <?php echo $type_attr; ?>>5902 <style> 5904 5903 <?php echo file_get_contents( ABSPATH . WPINC . "/css/wp-embed-template$suffix.css" ); ?> 5905 5904 </style> … … 5923 5922 $printed = true; 5924 5923 5925 $type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"';5926 5924 ?> 5927 <style <?php echo $type_attr; ?>>5925 <style> 5928 5926 img.wp-smiley, 5929 5927 img.emoji { … … 5950 5948 function wp_admin_bar_header() { 5951 5949 _deprecated_function( __FUNCTION__, '6.4.0', 'wp_enqueue_admin_bar_header_styles' ); 5952 $type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"';5953 5950 ?> 5954 <style <?php echo $type_attr; ?>media="print">#wpadminbar { display:none; }</style>5951 <style media="print">#wpadminbar { display:none; }</style> 5955 5952 <?php 5956 5953 } … … 5964 5961 function _admin_bar_bump_cb() { 5965 5962 _deprecated_function( __FUNCTION__, '6.4.0', 'wp_enqueue_admin_bar_bump_styles' ); 5966 $type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"';5967 5963 ?> 5968 <style <?php echo $type_attr; ?>media="screen">5964 <style media="screen"> 5969 5965 html { margin-top: 32px !important; } 5970 5966 @media screen and ( max-width: 782px ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)