Changeset 56682 for trunk/src/wp-includes/theme-templates.php
- Timestamp:
- 09/25/2023 05:04:41 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme-templates.php
r56549 r56682 119 119 return; 120 120 } 121 ?> 122 123 <?php 124 /** 125 * Print the skip-link styles. 126 */ 127 ?> 128 <style id="skip-link-styles"> 121 122 $skip_link_styles = ' 129 123 .skip-link.screen-reader-text { 130 124 border: 0; … … 155 149 width: auto; 156 150 z-index: 100000; 157 } 158 </style> 159 <?php 151 }'; 152 153 $handle = 'wp-block-template-skip-link'; 154 155 /** 156 * Print the skip-link styles. 157 */ 158 wp_register_style( $handle, false ); 159 wp_add_inline_style( $handle, $skip_link_styles ); 160 wp_enqueue_style( $handle ); 161 160 162 /** 161 163 * Print the skip-link script.
Note: See TracChangeset
for help on using the changeset viewer.